Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add content read permission throughout #226

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ on: [pull_request]
jobs:
preview:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write # Allow comments on PRs
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions command/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
if: ${{ github.event.issue.pull_request }}
# Allow the bot to comment on pulls
permissions:
contents: read
pull-requests: write
steps:
- name: 🏗 Setup repo
Expand Down
2 changes: 2 additions & 0 deletions preview-comment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
preview:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write # Allow comments on PRs
steps:
- name: 🏗 Setup repo
Expand Down Expand Up @@ -141,6 +142,7 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write # Allow comments on PRs
steps:
- name: 🏗 Setup repo
Expand Down
1 change: 1 addition & 0 deletions preview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ jobs:
preview:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write # Allow comments on PRs
steps:
- name: 🏗 Setup repo
Expand Down