Skip to content

Commit 9c5686b

Browse files
Make auto-update run as the app
Signed-off-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
1 parent 3bf9784 commit 9c5686b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/pr-auto-update.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@ jobs:
1010
pull-requests: write
1111
contents: write
1212
steps:
13+
- uses: actions/create-github-app-token@v2
14+
id: app-token
15+
with:
16+
app-id: 1363586
17+
private-key: ${{ secrets.PR_AUTO_UPDATE_PRIVATE_KEY }}
18+
1319
- uses: CSSUoB/pr-auto-updater@v2.1.2
1420
env:
15-
GITHUB_TOKEN: '${{ secrets.PR_AUTO_UPDATE_TOKEN }}'
21+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
1622
PR_FILTER: 'labelled'
1723
PR_LABELS: 'sync'
1824
MERGE_CONFLICT_ACTION: 'label'

0 commit comments

Comments
 (0)