Browse Source

Fix dependabot permissions (#7407)

Albert Johnston 3 years ago
parent
commit
d541319949
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/build.yml

+ 3 - 0
.github/workflows/build.yml

@@ -154,6 +154,9 @@ jobs:
   dependabot:
   dependabot:
     needs: verify
     needs: verify
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    permissions:
+      pull-requests: write
+      contents: write
     if: ${{ github.actor == 'dependabot[bot]' }}
     if: ${{ github.actor == 'dependabot[bot]' }}
     steps:
     steps:
       - name: Dependabot metadata
       - name: Dependabot metadata