Skip to content

Commit

Permalink
add permissions for id-token
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomontero committed May 7, 2024
1 parent 78c609d commit a4b6ca8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
publish:
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
branches:
- 'staging'
jobs:
call-tests:
uses: ./.github/workflows/tests.yml
secrets: inherit
#call-tests:
# uses: ./.github/workflows/tests.yml
# secrets: inherit
call-build:
uses: ./.github/workflows/build.yml
secrets: inherit
needs: call-tests
# needs: call-tests
call-publish:
uses: ./.github/workflows/publish-v2.yml
secrets: inherit
Expand Down

0 comments on commit a4b6ca8

Please sign in to comment.