Skip to content

Commit 56d6e70

Browse files
committed
ci: use default token for project workflow
1 parent 96e9c06 commit 56d6e70

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/add-issues-to-project.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Add Issues to Project
22

33
# Requires a repository variable named `PUBLIC_UI_PROJECT_URL` that contains the
4-
# GitHub Project (beta) URL and a secret named `PUBLIC_UI_PROJECT_TOKEN` holding
5-
# a fine-grained PAT with `project: write` access to that board.
4+
# GitHub Project (beta) URL. The workflow uses the default `GITHUB_TOKEN`, so no
5+
# additional PAT secret is necessary.
66

77
on:
88
issues:
@@ -13,6 +13,7 @@ on:
1313

1414
permissions:
1515
contents: read
16+
projects: write
1617

1718
jobs:
1819
add-to-project:
@@ -23,4 +24,4 @@ jobs:
2324
uses: actions/[email protected]
2425
with:
2526
project-url: ${{ vars.PUBLIC_UI_PROJECT_URL }}
26-
github-token: ${{ secrets.PUBLIC_UI_PROJECT_TOKEN }}
27+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)