Skip to content

Commit

Permalink
Update automation to centralized triage board
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aj-stein-nist committed Sep 28, 2023
1 parent 6d7efe0 commit 52d81d6
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 52d81d6

Please sign in to comment.