File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1111 branches :
1212 - main
1313
14+ permissions :
15+ contents : read
16+
1417concurrency :
1518 group : ${{ github.workflow }}-${{ github.ref || github.run_id }}
16- cancel-in-progress : true
19+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
1720
1821env :
1922 STABLE_PYTHON_VERSION : ' 3.13'
@@ -142,10 +145,9 @@ jobs:
142145 - build-wheels
143146
144147 permissions :
148+ contents : read
145149 # Required for trusted publishing
146150 id-token : write
147- # Required for release creation
148- contents : write
149151
150152 steps :
151153 - name : Checkout code
Original file line number Diff line number Diff line change 1111 branches :
1212 - main
1313
14+ permissions :
15+ contents : read
16+
1417concurrency :
1518 group : ${{ github.workflow }}-${{ github.ref || github.run_id }}
16- cancel-in-progress : true
19+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
1720
1821env :
1922 STABLE_PYTHON_VERSION : ' 3.13'
@@ -216,10 +219,9 @@ jobs:
216219 - build-arm64
217220
218221 permissions :
222+ contents : read
219223 # Required for trusted publishing
220224 id-token : write
221- # Required for release creation
222- contents : write
223225
224226 steps :
225227 - name : Checkout code
You can’t perform that action at this time.
0 commit comments