Commits
Tim Donohue authored and GitHub committed 81814bf31c2 Merge
3 3 | |
4 4 | on |
5 5 | issues |
6 6 | types opened |
7 7 | |
8 8 | jobs |
9 9 | automation |
10 10 | runs-on ubuntu-latest |
11 11 | steps |
12 12 | # 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 |
15 15 | # Only add to project board if issue is flagged as "needs triage" or has no labels |
16 16 | # NOTE: By default we flag new issues as "needs triage" in our issue template |
17 17 | 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 |
19 19 | # 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 |
21 21 | # See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token |
22 22 | # This is necessary because the "DSpace Backlog" project is an org level project (i.e. not repo specific) |
23 23 | 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 |