Allow extended write permissions for Dependabot auto-merge (#3945)
This commit is contained in:
parent
07f5e070e0
commit
49ed77b85c
1 changed files with 1 additions and 2 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -9,8 +9,6 @@ concurrency:
|
||||||
# See: https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
|
# See: https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
|
||||||
group: main-${{ github.head_ref || github.run_id }}
|
group: main-${{ github.head_ref || github.run_id }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 18
|
NODE_VERSION: 18
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -83,6 +81,7 @@ jobs:
|
||||||
|
|
||||||
dependabot:
|
dependabot:
|
||||||
needs: [run]
|
needs: [run]
|
||||||
|
permissions: write-all
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
|
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue