Skip to content

Commit f1f0ac7

Browse files
committed
Add permissions for oidc
1 parent 45cde7c commit f1f0ac7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ on:
2222
# │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
2323
- cron: "0 7 * * *" # Every day at 07:00 UTC
2424

25+
permissions: {}
26+
2527
concurrency:
2628
group: ${{ github.workflow }}-${{ github.ref }}
2729
cancel-in-progress: true
@@ -134,6 +136,8 @@ jobs:
134136
name: Upload to PyPI
135137
runs-on: ubuntu-latest
136138
needs: [build]
139+
permissions:
140+
id-token: write
137141
steps:
138142
- name: Download artifacts
139143
uses: actions/download-artifact@v5

0 commit comments

Comments
 (0)