Skip to content

Commit fef8a72

Browse files
authored
Specify write permissions for mutex lock explicitly (WATonomous#48)
* Specify write permissions for mutex lock explicitly * Specify write permissions for dependabot commits * Clarify comments * Add pr permission
1 parent 1abfe4b commit fef8a72

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/deploy.yml

+6
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ jobs:
6262
runs-on: ubuntu-latest
6363
if: github.event_name == 'pull_request'
6464
needs: [build]
65+
# Specify write permissions explicitly to make dependabot PRs happy:
66+
# https://github.com/dependabot/dependabot-core/issues/3253#issuecomment-940182533
67+
# This is okay in this job because we don't execute any external code (e.g. npm export).
68+
permissions:
69+
contents: write
70+
pull-requests: write
6571
steps:
6672
- uses: actions/checkout@v2
6773

0 commit comments

Comments
 (0)