Skip to content

Commit

Permalink
Added ADMIN_TOKEN to checkout, to allow bypassing branch protections.
Browse files Browse the repository at this point in the history
  • Loading branch information
atteggiani committed Sep 9, 2024
1 parent 88054da commit fd5e7ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/automatic_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ on:
jobs:
auto-merge:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@master
with:
ref: main
ref: main
fetch-depth: 0
token: ${{ secrets.ADMIN_TOKEN }}

- name: Import GPG settings
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
Expand Down

0 comments on commit fd5e7ee

Please sign in to comment.