Skip to content

Commit

Permalink
add permissions to child job
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Jun 26, 2024
1 parent 930f0db commit 3b0ea1a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
id-token: 'write'

jobs:
pr-builder:
needs:
Expand Down Expand Up @@ -71,6 +68,12 @@ jobs:
build_type: pull-request
script: ci/test_wheel.sh
wheel-publish:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
needs: wheel-build
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@test_pypi_trusted_publish
Expand Down

0 comments on commit 3b0ea1a

Please sign in to comment.