Skip to content

Commit a061cfb

Browse files
committed
CI permission id-token
1 parent 14b8e97 commit a061cfb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ jobs:
6262
platform_id: macosx_arm64
6363
runs-on: ${{ matrix.os }}
6464

65-
permissions:
66-
id-token: write
67-
6865
steps:
6966
- uses: actions/checkout@v4
7067
- name: Set up Python ${{ matrix.python }}
@@ -97,6 +94,8 @@ jobs:
9794
publish:
9895
runs-on: ubuntu-latest
9996
needs: build
97+
permissions:
98+
id-token: write
10099
steps:
101100
- name: Download artifacts
102101
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)