Skip to content

Commit

Permalink
fix: jobs permission propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
tenequm committed Jan 21, 2025
1 parent df62336 commit bcf999b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/branch-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
name: Build gasp-node
uses: ./.github/workflows/reusable-gasp-node-build-and-test.yml
secrets: inherit
permissions:
contents: read
actions: read
checks: write
id-token: write
with:
version: ${{ needs.init.outputs.GLOBAL_VERSION }}
branch: ${{ needs.init.outputs.GIT_BRANCH }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
name: Build gasp-node
uses: ./.github/workflows/reusable-gasp-node-build-and-test.yml
secrets: inherit
permissions:
contents: read
actions: read
checks: write
id-token: write
with:
version: ${{ needs.init.outputs.GLOBAL_VERSION }}
branch: ${{ needs.init.outputs.GIT_BRANCH }}
Expand Down

0 comments on commit bcf999b

Please sign in to comment.