Commit 8cf5035
authored
Verify release checkouts use tag commits (#75)
**Why**
The release workflow accepts a tag input and then builds, signs,
uploads, and records release metadata. The caller checkout should be
tied directly to that tag so a release run cannot publish artifacts from
one commit while labeling or recording them as another tag.
**What this changes**
- Checks out caller code from `refs/tags/${{ inputs.tag }}` in the
binaries, Windows, Docker, and registry metadata jobs.
- Verifies each checked-out caller repository HEAD matches the tag
target before continuing.
- Records the verified connector checkout commit SHA in the registry
metadata instead of using `github.sha`.
- Documents the release source identity invariant in the release
workflow docs.
This PR is stacked on #74 and should merge after it.
**Validation**
- Parsed `.github/workflows/release.yaml` with `yq`.
- Ran `git diff --check`.
- Verified all caller/connector release checkouts use `refs/tags/${{
inputs.tag }}`.
- Ran `orch-cross-review` focused on annotated/lightweight tags,
cross-runner behavior, registry commit recording, and regressions; no
blockers were reported.
- Ran a private connector release canary against this branch; the
release completed successfully, including macOS, Windows, Docker,
manifest publication, artifact verification, and registry recording
jobs.1 parent 9726023 commit 8cf5035
2 files changed
Lines changed: 76 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
183 | 199 | | |
184 | 200 | | |
185 | 201 | | |
| |||
429 | 445 | | |
430 | 446 | | |
431 | 447 | | |
| 448 | + | |
432 | 449 | | |
433 | 450 | | |
434 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
435 | 467 | | |
436 | 468 | | |
437 | 469 | | |
| |||
721 | 753 | | |
722 | 754 | | |
723 | 755 | | |
| 756 | + | |
724 | 757 | | |
725 | 758 | | |
726 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
727 | 775 | | |
728 | 776 | | |
729 | 777 | | |
| |||
1207 | 1255 | | |
1208 | 1256 | | |
1209 | 1257 | | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
1210 | 1261 | | |
1211 | 1262 | | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1212 | 1280 | | |
1213 | 1281 | | |
1214 | 1282 | | |
| |||
1288 | 1356 | | |
1289 | 1357 | | |
1290 | 1358 | | |
1291 | | - | |
| 1359 | + | |
1292 | 1360 | | |
1293 | 1361 | | |
1294 | 1362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
103 | 110 | | |
104 | 111 | | |
105 | 112 | | |
| |||
0 commit comments