Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions template/.github/workflows/ci.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:

permissions:
id-token: write # needed to assume OIDC roles (e.g. for downloading from CodeArtifact)
contents: read # need to explicitly provide this whenever defining permissions because the default value is 'none' for anything not explicitly set when permissions are defined

jobs:
get-values:
Expand Down
1 change: 1 addition & 0 deletions template/.github/workflows/publish.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:

permissions:
id-token: write # needed to assume OIDC roles (e.g. for downloading from CodeArtifact)
contents: read # need to explicitly provide this whenever defining permissions because the default value is 'none' for anything not explicitly set when permissions are defined

jobs:
get-values:
Expand Down
3 changes: 2 additions & 1 deletion template/.github/workflows/publish_to_staging.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ env:
PRE_COMMIT_HOME: ${{ github.workspace }}/.precommit_cache

permissions:
id-token: write # needed to assume OIDC roles (e.g. for downloading from CodeArtifact)
id-token: write # needed to assume OIDC roles (e.g. for downloading from CodeArtifact)
contents: read # need to explicitly provide this whenever defining permissions because the default value is 'none' for anything not explicitly set when permissions are defined

jobs:
lint:
Expand Down