diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 01:03:04 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 01:03:04 +0300 |
| commit | 597742113cc1ea06e6a35cb6383617d7b1269dda (patch) | |
| tree | f7592bdc862c89e5d589459098e3830c4999ccef /docs/_static/css/code-snippets.css | |
| parent | 9ae5d3ab20045ce21ab62a54ce6c25c98ba34d8b (diff) | |
| download | vyos-documentation-597742113cc1ea06e6a35cb6383617d7b1269dda.tar.gz vyos-documentation-597742113cc1ea06e6a35cb6383617d7b1269dda.zip | |
ci: backport update-version-tags hardening to circinus (rolls up #1953 + #1958)
Brings circinus's `.github/workflows/update-version-tags.yml` to the
final post-#1958 rolling-side state. This rolls up the entire
hardening series in one shot because Mergify's per-PR backport could
not cherry-pick #1958 cleanly onto a base that never received #1953
(the prior backport, #1954, was closed).
Final workflow shape:
- Two-job pipeline. `check_head` resolves the per-branch tag name and
filters stale "Re-run jobs" replays via a HEAD-equivalence check
against the live branch HEAD; sets `is_current` output.
- `retag` depends on `check_head`, runs only when `is_current=='true'`,
carries job-level `concurrency: {group: version-tag-<ref>,
cancel-in-progress: false}` so back-to-back pushes serialize in
commit order.
- `retag` re-validates HEAD inside its own job before PATCH so that
GitHub's "Re-run failed jobs" (which can re-execute retag in
isolation) cannot move the tag to a stale `github.sha`.
- Tag mutation: PATCH-first, fallback to POST only on HTTP 404, fail
loud on any other gh-api error.
Verbatim copy of `origin/rolling:.github/workflows/update-version-tags.yml`
substantive content, with the LTS branch's "keep all three copies in
sync" header preserved (rolling has a context7-refresh-specific header
because that workflow is rolling-only).
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs/_static/css/code-snippets.css')
0 files changed, 0 insertions, 0 deletions
