We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e9c06 commit 56d6e70Copy full SHA for 56d6e70
.github/workflows/add-issues-to-project.yml
@@ -1,8 +1,8 @@
1
name: Add Issues to Project
2
3
# 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.
+# GitHub Project (beta) URL. The workflow uses the default `GITHUB_TOKEN`, so no
+# additional PAT secret is necessary.
6
7
on:
8
issues:
@@ -13,6 +13,7 @@ on:
13
14
permissions:
15
contents: read
16
+ projects: write
17
18
jobs:
19
add-to-project:
@@ -23,4 +24,4 @@ jobs:
23
24
uses: actions/[email protected]
25
with:
26
project-url: ${{ vars.PUBLIC_UI_PROJECT_URL }}
- github-token: ${{ secrets.PUBLIC_UI_PROJECT_TOKEN }}
27
+ github-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments