Skip to content

Commit 5b69bb1

Browse files
authored
Update action to add issues to new triage board
1 parent 5ac9d56 commit 5b69bb1

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/issue_opened.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,16 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
# Add the new issue to a project board, if it needs triage
13-
# See https://github.com/marketplace/actions/create-project-card-action
14-
- name: Add issue to project board
13+
# See https://github.com/actions/add-to-project
14+
- name: Add issue to triage board
1515
# Only add to project board if issue is flagged as "needs triage" or has no labels
1616
# NOTE: By default we flag new issues as "needs triage" in our issue template
1717
if: (contains(github.event.issue.labels.*.name, 'needs triage') || join(github.event.issue.labels.*.name) == '')
18-
uses: technote-space/create-project-card-action@v1
18+
uses: actions/add-to-project@v0.3.0
1919
# Note, the authentication token below is an ORG level Secret.
20-
# It must be created/recreated manually via a personal access token with "public_repo" and "admin:org" permissions
20+
# It must be created/recreated manually via a personal access token with admin:org, project, public_repo permissions
2121
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token
2222
# This is necessary because the "DSpace Backlog" project is an org level project (i.e. not repo specific)
2323
with:
24-
GITHUB_TOKEN: ${{ secrets.ORG_PROJECT_TOKEN }}
25-
PROJECT: DSpace Backlog
26-
COLUMN: Triage
27-
CHECK_ORG_PROJECT: true
28-
# Ignore errors
29-
continue-on-error: true
24+
github-token: ${{ secrets.TRIAGE_PROJECT_TOKEN }}
25+
project-url: https://github.com/orgs/DSpace/projects/24

0 commit comments

Comments
 (0)