Skip to content

Commit

Permalink
Use bot access token for merge-up pull requests (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus authored Mar 14, 2024
1 parent 2e3689d commit 01d0840
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/merge-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ on:
branches:
- "v[0-9]+.[0-9]+"

permissions:
contents: write
pull-requests: write

env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.MERGE_UP_TOKEN }}

jobs:
merge-up:
Expand All @@ -24,6 +20,7 @@ jobs:
with:
# fetch-depth 0 is required to fetch all branches, not just the branch being built
fetch-depth: 0
token: ${{ secrets.MERGE_UP_TOKEN }}

- name: Create pull request
id: create-pull-request
Expand Down

0 comments on commit 01d0840

Please sign in to comment.