Skip to content

Commit

Permalink
Merge pull request #241 from studiobakers/gh-action-permission-fix
Browse files Browse the repository at this point in the history
Update pr-preview.yml to add required permissions
  • Loading branch information
jamcry authored Jun 3, 2024
2 parents d5c2f06 + aaeb36c commit 6f904d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ on:

concurrency: preview-${{ github.ref }}

permissions:
# Used by `pr-preview-action` to push pr preview build files to related branch
contents: write
# Used by `pr-preview-action` to leave a comment on the PR with the preview link
pull-requests: write

jobs:
deploy-preview:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6f904d4

Please sign in to comment.