chore: enable permissions for the whole workflow
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
This commit is contained in:
parent
e006864f04
commit
6f4887fd46
1 changed files with 4 additions and 3 deletions
7
.github/workflows/automerger.yml
vendored
7
.github/workflows/automerger.yml
vendored
|
|
@ -5,14 +5,15 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
automerge:
|
||||
runs-on: ubuntu-latest
|
||||
if: >
|
||||
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]'
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
steps:
|
||||
- uses: fastify/github-action-merge-dependabot@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue