Skip to content

Commit

Permalink
Add a GitHub app to bypass branch protection on main
Browse files Browse the repository at this point in the history
  • Loading branch information
BusyCityGuy committed Sep 25, 2024
1 parent 6a69440 commit b19ec45
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,21 @@ jobs:
name: Preprocess release (update versions, copyright years)
runs-on: ubuntu-latest
needs: [install-tools, get-version]
environment: Release Preprocessor
permissions:
contents: write

steps:
- uses: actions/[email protected]
id: release-preprocessor-bot-token
with:
app-id: ${{ vars.RELEASE_PREPROCESSOR_APP_ID }}
private-key: ${{ secrets.RELEASE_PREPROCESSOR_PRIVATE_KEY }}

- name: Checkout code
uses: actions/[email protected]
with:
token: ${{ steps.release-preprocessor-bot-token.outputs.token }}

- name: Restore installed items
uses: actions/[email protected]
Expand Down

0 comments on commit b19ec45

Please sign in to comment.