Commit 2e46084
refactor: merge publish.yml into release.yml; pin all action SHAs
The two-workflow chain (release.yml tags → publish.yml publishes on tag
push) existed solely because GITHUB_TOKEN-authenticated pushes don't
trigger other workflow runs. Now that they are a single workflow, the
recursion guard is irrelevant — GITHUB_TOKEN with contents: write is
enough to push the tag, so the GitHub App token and RELEASE_APP_* secrets
are no longer needed.
Merged structure (test → build → publish-testpypi → publish-pypi):
- test: matrix 3.10/3.11/3.12, no fetch-depth needed
- build: normalizes version once (job output), pushes tag, builds with
hatch-vcs (fetch-depth: 0), uploads dist artifact
- publish-testpypi: OIDC publish to TestPyPI
- publish-pypi: OIDC publish to PyPI + GitHub Release (tag_name from
build job output)
All actions pinned to full commit SHAs:
- actions/checkout 34e114876b0b11c390a56381ad16ebd13914f8d5 (v4)
- astral-sh/setup-uv e58605a9b6da7c637471fab8847a5e5a6b8df081 (v5)
- actions/upload-artifact ea165f8d65b6e75b540449e92b4886f43607fa02 (v4.6.2)
- actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 (v4.3.0)
- softprops/action-gh-release 3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 (v2.6.2)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 532dc37 commit 2e46084
2 files changed
Lines changed: 108 additions & 120 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
13 | 41 | | |
14 | 42 | | |
15 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
16 | 46 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
23 | 54 | | |
24 | 55 | | |
25 | 56 | | |
26 | | - | |
| 57 | + | |
27 | 58 | | |
28 | 59 | | |
29 | 60 | | |
30 | 61 | | |
31 | 62 | | |
32 | 63 | | |
33 | | - | |
| 64 | + | |
34 | 65 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
0 commit comments