Skip to content

Commit b9c2bc7

Browse files
committed
Use the proper permission scope
1 parent bc470cc commit b9c2bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
if: github.event_name == 'pull_request'
6464
permissions:
6565
contents: read
66-
issues: write
66+
id-token: write
6767
needs: build
6868
runs-on: ubuntu-latest
6969
environment: test
@@ -97,7 +97,7 @@ jobs:
9797
if: github.event_name == 'release'
9898
permissions:
9999
contents: read
100-
issues: write
100+
id-token: write
101101
needs: build
102102
runs-on: ubuntu-latest
103103
environment: release

0 commit comments

Comments
 (0)