Skip to content

Commit 52d81d6

Browse files
committed
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.
1 parent 6d7efe0 commit 52d81d6

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.github/workflows/issue-triage.yml

+7-17
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,14 @@ on:
44
issues:
55
types:
66
- opened
7-
- closed
7+
- reopened
8+
89
jobs:
9-
createCard:
10-
runs-on: ubuntu-20.04
11-
if: github.event.action == 'opened'
12-
steps:
13-
- name: Add New Issues to Issue Triage Board
14-
uses: peter-evans/create-or-update-project-card@5eacbbd224b7814354861b555cc18a8359e2cebe
15-
with:
16-
project-name: Issue Triage
17-
column-name: Needs Triage
18-
removeCard:
10+
add-to-project:
11+
name: Add issue to project
1912
runs-on: ubuntu-20.04
20-
if: github.event.action == 'closed'
2113
steps:
22-
- uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43
14+
- uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c
2315
with:
24-
project: Issue Triage
25-
column: Done
26-
action: delete
27-
repo-token: ${{ secrets.COMMIT_TOKEN }}
16+
project-url: https://github.com/orgs/usnistgov/projects/25
17+
github-token: ${{ secrets.COMMIT_TOKEN }}

0 commit comments

Comments
 (0)