Skip to content

Commit 01d0840

Browse files
authored
Use bot access token for merge-up pull requests (#1255)
1 parent 2e3689d commit 01d0840

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/merge-up.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ on:
55
branches:
66
- "v[0-9]+.[0-9]+"
77

8-
permissions:
9-
contents: write
10-
pull-requests: write
11-
128
env:
13-
GH_TOKEN: ${{ github.token }}
9+
GH_TOKEN: ${{ secrets.MERGE_UP_TOKEN }}
1410

1511
jobs:
1612
merge-up:
@@ -24,6 +20,7 @@ jobs:
2420
with:
2521
# fetch-depth 0 is required to fetch all branches, not just the branch being built
2622
fetch-depth: 0
23+
token: ${{ secrets.MERGE_UP_TOKEN }}
2724

2825
- name: Create pull request
2926
id: create-pull-request

0 commit comments

Comments
 (0)