Skip to content

Commit

Permalink
CI: Subs Workflow can read PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Nov 30, 2023
1 parent 4ea67ac commit 8b6b14e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
# Give the default GITHUB_TOKEN write permission to commit and push the
# changed files back to the repository.
contents: write
# For the person access token (PAT) to push back changes.
secrets: read
uses: ./.github/workflows/stubs.yml

ubuntu:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/stubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
# Give the default GITHUB_TOKEN write permission to commit and push the
# changed files back to the repository.
contents: write
# For the person access token (PAT) to push back changes.
secrets: read

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 8b6b14e

Please sign in to comment.