Skip to content

Commit 794c760

Browse files
committed
Add permissions
1 parent ec69d57 commit 794c760

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
poetry-version: ["1.4"]
1313
os: [ubuntu-22.04]
1414
runs-on: ${{ matrix.os }}
15+
permissions:
16+
id-token: write
17+
contents: write
1518
steps:
1619
- uses: actions/checkout@v3
1720
- uses: actions/setup-python@v4
@@ -28,9 +31,6 @@ jobs:
2831
with:
2932
role-to-assume: ${{ secrets.AWS_SAR_PUBLISHER_ROLE }}
3033
aws-region: us-east-1
31-
permissions:
32-
id-token: write
33-
contents: read
3434
- name: Build & Package & Publish
3535
run: |
3636
poetry export -o src/requirements.txt --without-hashes

0 commit comments

Comments
 (0)