Skip to content

Commit

Permalink
getting correct permission in reusable-unit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed May 8, 2023
1 parent 0c63428 commit cb96294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/reusable-unit-split.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
package-matrix: ${{ steps.set-matrix.outputs.matrix }}
permissions:
id-token: write # NOTE: this permission is explicitly required for Vault auth.
contents: read
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@v3.5.0
Expand All @@ -71,6 +68,9 @@ jobs:
name: "go-test"
needs:
- set-test-package-matrix
permissions:
id-token: write # NOTE: this permission is explicitly required for Vault auth.
contents: read
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit cb96294

Please sign in to comment.