diff --git a/.github/workflows/add-issues-to-engineering-project.yml b/.github/workflows/add-issues-to-engineering-project.yml deleted file mode 100644 index 0e820de..0000000 --- a/.github/workflows/add-issues-to-engineering-project.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Add New Issue to Engineering Project - -on: - issues: - types: [opened] - -jobs: - add_issue_to_project: - runs-on: ubuntu-latest - steps: - - name: Add issue to project - uses: actions/github-script@v7 - with: - github-token: ${{ secrets.GH_TOKEN_ADD_TO_ENG_PROJECT }} - script: | - const issueId = context.payload.issue.node_id; - - const mutation = ` - mutation { - addProjectV2ItemById(input: { - projectId: "${{ vars.ENGINEERING_PROJECT_ID }}", - contentId: "${issueId}" - }) { - item { - id - } - } - } - `; - - await github.graphql(mutation);