Skip to content

Commit dfd6832

Browse files
Merge main into agm-2025-update
2 parents 64b263a + 941db65 commit dfd6832

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,16 @@ jobs:
1010
pull-requests: write
1111
contents: write
1212
steps:
13+
- name: Generate Access Token
14+
uses: actions/create-github-app-token@v2
15+
id: generate-token
16+
with:
17+
app-id: ${{ vars.PR_AUTO_UPDATE_CLIENT_ID }}
18+
private-key: ${{ secrets.PR_AUTO_UPDATE_PRIVATE_KEY }}
19+
1320
- uses: CSSUoB/pr-auto-updater@v2.1.2
1421
env:
15-
GITHUB_TOKEN: '${{ secrets.PR_AUTO_UPDATE_TOKEN }}'
22+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
1623
PR_FILTER: 'labelled'
1724
PR_LABELS: 'sync'
1825
MERGE_CONFLICT_ACTION: 'label'

0 commit comments

Comments
 (0)