Commit ce47314
fix: ensure release.yml calls CI first via run_tests reusable workflow
Add a `run_tests` job that calls `.github/workflows/ci.yml` as a
reusable workflow, and make `release` depend on it via `needs: run_tests`.
Move permissions from workflow-level to job-level for least-privilege.
No PYPI_UPLOAD_TOKEN or password fields — OIDC pattern preserved.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e401671 commit ce47314
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
0 commit comments