Skip to content

Commit fa81506

Browse files
authored
update authentication for automerge script (#22977)
1 parent 1500186 commit fa81506

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/enterprise-dates.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
- name: Enable GitHub auto-merge
7272
if: ${{ steps.create-pull-request.outputs.pull-request-number }}
7373
env:
74+
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
7475
AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }}
7576
run: node .github/actions-scripts/enable-automerge.js
7677

.github/workflows/repo-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ jobs:
217217
- name: Enable GitHub auto-merge
218218
if: ${{ steps.find-pull-request.outputs.number }}
219219
env:
220+
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
220221
AUTOMERGE_PR_NUMBER: ${{ steps.find-pull-request.outputs.number }}
221222
run: node .github/actions-scripts/enable-automerge.js
222223

.github/workflows/update-graphql-files.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
- name: Enable GitHub auto-merge
6565
if: ${{ steps.create-pull-request.outputs.pull-request-number }}
6666
env:
67+
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
6768
AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }}
6869
run: node .github/actions-scripts/enable-automerge.js
6970

0 commit comments

Comments
 (0)