WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 85cacd2

Browse files
authored
Fix GH action permissions (#44)
1 parent 1776fb9 commit 85cacd2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release-package.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
url: https://pypi.org/p/authsignal
7676
permissions:
7777
id-token: write # needed for both trusted publishing and sigstore
78+
contents: write
7879

7980
steps:
8081
- name: Download all the dists
@@ -94,8 +95,6 @@ jobs:
9495
pip install cryptography==43.*
9596
- name: Sign the dists with Sigstore
9697
uses: sigstore/[email protected]
97-
env:
98-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9998
with:
10099
inputs: >-
101100
./dist/*.tar.gz
@@ -116,7 +115,6 @@ jobs:
116115

117116
permissions:
118117
id-token: write # IMPORTANT: mandatory for trusted publishing
119-
contents: write
120118

121119
steps:
122120
- name: Download all the test dists

0 commit comments

Comments
 (0)