Skip to content

Commit a5af52f

Browse files
committed
fix: use GITHUB_TOKEN with explicit permissions instead of GitHub App token
1 parent 25c5078 commit a5af52f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/add-bugs-to-quality-board.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@ on:
77
jobs:
88
add-to-quality-board:
99
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
contents: read
1013

1114
steps:
12-
- uses: actions/create-github-app-token@v2
13-
id: app-token
14-
with:
15-
app-id: ${{ secrets.GH_APP_API_SYNC_ID }}
16-
private-key: ${{ secrets.GH_APP_API_SYNC_KEY }}
1715
- id: add-bug-to-quality-board
1816
name: Add issue to Quality Board
1917
uses: camunda/infra-global-github-actions/add-bug-to-quality-board@main
2018
with:
21-
github-token: ${{ steps.app-token.outputs.token }}
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
2220
project-number: "187"
2321
component-label: "component/documentation"
2422
if: >

0 commit comments

Comments
 (0)