Skip to content

Commit

Permalink
ci: disable automatic approval for flake update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetkov committed Oct 23, 2022
1 parent af1da2f commit 4d6f749
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
automated
dependencies
flake update
- uses: peter-evans/enable-pull-request-automerge@v2
with:
token: ${{ secrets.PAT_FLAKE_UPDATE }}
pull-request-number: ${{ steps.flakeupdate.outputs.pull-request-number }}
merge-method: "squash"
# Fine grained Personal Access Tokens do not yet work with GitHub's GraphQL API
# so we'll stick with manual approval for now
# https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#about-personal-access-tokens
# - uses: peter-evans/enable-pull-request-automerge@v2
# with:
# token: ${{ secrets.PAT_FLAKE_UPDATE }}
# pull-request-number: ${{ steps.flakeupdate.outputs.pull-request-number }}
# merge-method: "squash"

0 comments on commit 4d6f749

Please sign in to comment.