Skip to content

Commit f0979e9

Browse files
committed
ci: use a GitHub App token for the issues board
1 parent d092087 commit f0979e9

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Add bugs to bugs project
1+
name: Add issues to the user issues board
22

33
on:
44
issues:
@@ -9,8 +9,14 @@ jobs:
99
add-to-project:
1010
name: Add issue to project
1111
runs-on: ubuntu-latest
12+
permissions: {}
1213
steps:
13-
- uses: actions/add-to-project@v0.5.0
14+
- uses: actions/create-github-app-token@v3.2.0
15+
id: app-token
1416
with:
15-
project-url: https://github.com/orgs/DeepLcom/projects/1
16-
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
17+
client-id: ${{ secrets.PROJECT_BOT_CLIENT_ID }}
18+
private-key: ${{ secrets.PROJECT_BOT_PRIVATE_KEY }}
19+
- uses: actions/add-to-project@v2.0.0
20+
with:
21+
project-url: https://github.com/orgs/DeepL/projects/1
22+
github-token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)