diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 5638e077a3..0dc03fe811 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -4,24 +4,15 @@ on: issues: types: - opened - - closed + - reopened + - transferred + jobs: - createCard: - runs-on: ubuntu-20.04 - if: github.event.action == 'opened' - steps: - - name: Add New Issues to Issue Triage Board - uses: peter-evans/create-or-update-project-card@5eacbbd224b7814354861b555cc18a8359e2cebe - with: - project-name: Issue Triage - column-name: Needs Triage - removeCard: + add-to-project: + name: Add issue to project runs-on: ubuntu-20.04 - if: github.event.action == 'closed' steps: - - uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43 + - uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c with: - project: Issue Triage - column: Done - action: delete - repo-token: ${{ secrets.COMMIT_TOKEN }} + project-url: https://github.com/orgs/usnistgov/projects/25 + github-token: ${{ secrets.COMMIT_TOKEN }}