Skip to content

Commit

Permalink
Add explanation for permissions in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamcry authored Jun 3, 2024
1 parent b9e29e4 commit aaeb36c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ 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:
Expand Down

0 comments on commit aaeb36c

Please sign in to comment.