Commit ee0bc66
CI: fix id-token permission for Test wheels building
build-test.yml triggers on pull_request, which gives it id-token:none
by default. lib-build-and-push.yml's upload_pypi job declares
id-token:write, which exceeds the caller's cap and causes GitHub to
reject the workflow at parse time — even though upload:false prevents
upload_pypi from ever running.
Fix: explicitly grant id-token:write to the test-wheels-build job so
the permission cap satisfies the reusable workflow's requirement.
Fixes #8191 parent 293e4a1 commit ee0bc66
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
0 commit comments