diff --git a/.github/workflows/management_issue_assign.yml b/.github/workflows/management_issue_assign.yml deleted file mode 100644 index 897131bc..00000000 --- a/.github/workflows/management_issue_assign.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: "Project Management Issue Assign Actions" - -on: - issues: - types: - - assigned - -jobs: - send_issue_to_management_tool: - runs-on: ubuntu-latest - steps: - - name: View issue information - env: - TITLE: ${{ github.event.issue.title }} - BODY: ${{ github.event.issue.body }} - NUMBER: ${{ github.event.issue.number }} - URL: ${{ github.event.issue.html_url }} - ASSIGNEE: ${{ github.event.issue.assignee.login }} - run: | - echo "Issue title: $TITLE" - echo "Issue body: $BODY" - echo "Issue number: $NUMBER" - echo "Issue url: $URL" - echo "Issue assignee: $ASSIGNEE" - - - name: Send issue to GitLab CI - env: - TITLE: ${{ github.event.issue.title }} - BODY: ${{ github.event.issue.body }} - run: | - curl -X POST --fail \ - -F token=${{ secrets.GITLAB_CI_TRIGGER_TOKEN }} \ - -F "ref=main" \ - -F "variables[ACTION]=ASSIGN" \ - -F "variables[TITLE]=$TITLE" \ - -F "variables[DESCRIPTION]=$BODY" \ - -F "variables[ASSIGNEE]=$ASSIGNEE" \ - -F "variables[URL]=$URL" \ - -F "variables[SOURCE]=github" \ - ${{ secrets.GITLAB_CI_TRIGGER_URL }} diff --git a/.github/workflows/management_issue_closure.yml b/.github/workflows/management_issue_closure.yml deleted file mode 100644 index 334d7c25..00000000 --- a/.github/workflows/management_issue_closure.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: "Project Management Issues Closure Actions" - -on: - issues: - types: - - closed - -jobs: - send_issue_to_management_tool: - runs-on: ubuntu-latest - steps: - - name: View issue information - env: - TITLE: ${{ github.event.issue.title }} - BODY: ${{ github.event.issue.body }} - NUMBER: ${{ github.event.issue.number }} - URL: ${{ github.event.issue.html_url }} - run: | - echo "Issue title: $TITLE" - echo "Issue body: $BODY" - echo "Issue number: $NUMBER" - echo "Issue url: $URL" - - - name: Send issue to GitLab CI - env: - TITLE: ${{ github.event.issue.title }} - BODY: ${{ github.event.issue.body }} - run: | - curl -X POST --fail \ - -F token=${{ secrets.GITLAB_CI_TRIGGER_TOKEN }} \ - -F "ref=main" \ - -F "variables[ACTION]=CLOSE" \ - -F "variables[TITLE]=$TITLE" \ - -F "variables[DESCRIPTION]=$BODY" \ - -F "variables[URL]=$URL" \ - -F "variables[SOURCE]=github" \ - ${{ secrets.GITLAB_CI_TRIGGER_URL }} diff --git a/.github/workflows/management_issue_creation.yml b/.github/workflows/management_issue_creation.yml deleted file mode 100644 index 7ff884e0..00000000 --- a/.github/workflows/management_issue_creation.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: "Project Management Issue Creation Actions" - -on: - issues: - types: - - opened - - reopened - -jobs: - send_issue_to_management_tool: - runs-on: ubuntu-latest - steps: - - name: View issue information - env: - TITLE: ${{ github.event.issue.title }} - BODY: ${{ github.event.issue.body }} - NUMBER: ${{ github.event.issue.number }} - URL: ${{ github.event.issue.html_url }} - run: | - echo "Issue title: $TITLE" - echo "Issue body: $BODY" - echo "Issue number: $NUMBER" - echo "Issue url: $URL" - - - name: Send issue to GitLab CI - env: - TITLE: ${{ github.event.issue.title }} - BODY: ${{ github.event.issue.body }} - run: | - curl -X POST --fail \ - -F token=${{ secrets.GITLAB_CI_TRIGGER_TOKEN }} \ - -F "ref=main" \ - -F "variables[ACTION]=OPEN" \ - -F "variables[TITLE]=$TITLE" \ - -F "variables[DESCRIPTION]=$BODY" \ - -F "variables[URL]=$URL" \ - -F "variables[SOURCE]=github" \ - ${{ secrets.GITLAB_CI_TRIGGER_URL }}