Allow extended write permissions for Dependabot auto-merge (#3945)

This commit is contained in:
Jon Koops 2022-12-06 13:50:45 +01:00 committed by GitHub
parent 07f5e070e0
commit 49ed77b85c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,8 +9,6 @@ concurrency:
# See: https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
group: main-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
pull-requests: write
env:
NODE_VERSION: 18
jobs:
@ -83,6 +81,7 @@ jobs:
dependabot:
needs: [run]
permissions: write-all
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
steps: