Skip to content

Commit ff8e5aa

Browse files
committed
chore(ci): Add attestation and id-token permissions
1 parent 421dd70 commit ff8e5aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-test-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
build-package:
3232
name: Build & verify package
3333
runs-on: ubuntu-latest
34+
permissions:
35+
attestations: write
3436
steps:
3537
- uses: actions/checkout@v4
3638
with:
@@ -109,6 +111,9 @@ jobs:
109111
if: github.event.action == 'published'
110112
runs-on: ubuntu-latest
111113
needs: [build-package, test]
114+
permissions:
115+
id-token: write
116+
attestations: write
112117

113118
steps:
114119
- name: Download packages built by build-and-inspect-python-package

0 commit comments

Comments
 (0)