From bde94c216afda0ccc99906aad7ffd97e8c3c931b Mon Sep 17 00:00:00 2001 From: "A.J. Stein" Date: Wed, 27 Sep 2023 00:00:40 -0400 Subject: [PATCH 1/2] Update automation to centralized triage board The old board (https://github.com/usnistgov/OSCAL/projects/52) has been deprecated and it is time to switch board automation. Repo admins will get emails on every triage automation failure as old board is closed. --- .github/workflows/issue-triage.yml | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 5638e077a3..cc40789e3b 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -4,24 +4,14 @@ on: issues: types: - opened - - closed + - reopened + 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 }} From c15efff3670d0721008262e0658bc3c3c4f9a005 Mon Sep 17 00:00:00 2001 From: "A.J. Stein" Date: Wed, 27 Sep 2023 18:45:32 -0400 Subject: [PATCH 2/2] Add transferred issue status I found this other issue type when reading GitHub's documentation and reviewing it for debugging steps. --- .github/workflows/issue-triage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index cc40789e3b..0dc03fe811 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -5,6 +5,7 @@ on: types: - opened - reopened + - transferred jobs: add-to-project: