Skip to content

Commit

Permalink
fix(npm-publish): restore permissions
Browse files Browse the repository at this point in the history
Without these, the workflow fails on Dependabot merge commits.
  • Loading branch information
caugner committed Oct 30, 2024
1 parent 4a91901 commit 6a8a336
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- main

# Allows this check to run on Dependabot merge commits.
permissions:
contents: write
pull-requests: write

jobs:
build:
if: github.repository == 'mdn/yari'
Expand Down

0 comments on commit 6a8a336

Please sign in to comment.