Add id-token permissions to workflows (#1783)

This commit is contained in:
Bart Louwers
2023-10-19 21:09:46 +02:00
committed by GitHub
parent a0544f4f93
commit e98fe36a79
2 changed files with 4 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ concurrency:
# INFO: We are cancelling the concurrency group if the change is on PR. For workflow dispatch, this will not work.
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
id-token: write # This is required for requesting the AWS JWT
jobs:
pre_job:
runs-on: ubuntu-22.04

View File

@@ -14,6 +14,7 @@ env:
permissions:
pull-requests: write
id-token: write # This is required for requesting the AWS JWT
jobs:
pr-bloaty: