Skip to content

Commit e87f32a

Browse files
committed
publish perms
1 parent 3f1997e commit e87f32a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

template/.github/workflows/publish_to_staging.yaml.jinja

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ env:
88
PRE_COMMIT_HOME: ${{ github.workspace }}/.precommit_cache
99

1010
permissions:
11-
id-token: write
12-
contents: write # needed for mutex
11+
id-token: write # needed to assume OIDC roles (e.g. for downloading from CodeArtifact)
1312

1413
jobs:
1514
lint:
1615
name: Pre-commit
1716
uses: ./.github/workflows/pre-commit.yaml
17+
permissions:
18+
contents: write # needed for mutex
1819
with:
1920
python-version: {% endraw %}{{ python_version }}{% raw %}
2021

0 commit comments

Comments
 (0)