Skip to content

Commit a2e14ff

Browse files
committed
Add permissions
1 parent dede7fa commit a2e14ff

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
needs: draft-release
4646
uses: ./.github/workflows/python-publish.yml
4747
permissions:
48-
contents: read
48+
contents: write
4949
security-events: write
5050
id-token: write
5151
with:

.github/workflows/python-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ jobs:
9999
runs-on: ubuntu-latest
100100
if: ${{ inputs.release_id }}
101101
needs: build
102+
permissions:
103+
contents: write
104+
security-events: write
102105
steps:
103106
- name: Download all the dists
104107
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v5

0 commit comments

Comments
 (0)