Skip to content

Add runs-on input for promotion job and update changelog - #2

Merged
ggrace519 merged 32 commits into
mainfrom
develop
Nov 7, 2026
Merged

ggrace519 merged 32 commits into
mainfrom
develop

Conversation

@ggrace519

Copy link
Copy Markdown
Contributor

No description provided.

ggrace519 and others added 30 commits October 25, 2026 21:14
Private callers had no way to keep the promotion job off GitHub-hosted
runners, because runs-on was hard-coded to ubuntu-latest. Add an optional
runs-on input that takes a single label or a JSON array of labels. The
default stays ubuntu-latest, so public callers, which cannot reach private
self-hosted runner groups, are unaffected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(promote): accept a runs-on input
v1.0.1 was tagged on main with its entries still under Unreleased.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs: date the 1.0.1 changelog section
Date changelog section for version 1.0.1
The mutable v4 tag let upstream change the code that promote runs on
callers' self-hosted runners. Pin to v4.4.0's commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(ci): pin actions/checkout to a commit sha
Pin actions/checkout to a specific commit SHA in promote and lint workflow to ensure consistency.
Update CHANGELOG for version 1.0.2 and pin actions/checkout
Update CHANGELOG for v1.0.2 and pin actions/checkout version
Promote versions 1.0.0, 1.0.1, and 1.0.2 with changelog updates
Match the [X.Y.Z] format of every other section.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs: drop the v prefix from the 1.0.2 changelog heading
All known callers now pin v1.0.2's commit, and v* tags are protected
by a ruleset. Update the README usage and versioning sections and
CLAUDE.md to match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs: tell callers to pin a release sha, not v1
The template put every promote run in one group with cancel-in-progress.
A develop merge also re-runs lint on the open promotion PR, and that
run's promote job is skipped by 'if'. Concurrency applies before 'if', so
the skipped run cancelled the push run that refreshes the PR. Only push
and manual runs share the group now.

The extracted template passes actionlint.

Refs #17

Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs(promote): fix the caller template's concurrency group
Promote versions and update changelog and README for pinning
Reusable `release.yml`: on each push to main it reads the top
`## [X.Y.Z] - YYYY-MM-DD` section of CHANGELOG.md, creates the tag
vX.Y.Z on that commit and a GitHub release whose notes are that
section. It fails when [Unreleased] still has entries, when the
version is not newer than the latest tag, or when main moved without
a new version. `dry-run` validates the changelog on the promotion
pull request, `major-tag` moves vX, and `version`/`tag`/`released`/
`url` outputs let callers chain tag-triggered builds, since tags made
with GITHUB_TOKEN start no workflows.

`self-release.yml` runs it for this repository on main and as a check
on the promotion pull request.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
GitHub puts pull_request runs on pull requests that github-actions[bot]
created into an approval-required state (changelog 2026-06-11). The
README said the opposite, based on tetris-c #14; that run was attempt 2
after a manual approval. Say so, and tell callers to approve the first
run on a new promotion pull request.

Refs #20

Co-Authored-By: Claude Fable 5.1 <[email protected]>
feat(release): add changelog-driven tag and release workflow
docs(promote): the opening CI run on a promotion PR is held for approval
Implement changelog-driven release workflow and update promotion docs
Add default security policy
Roll [Unreleased] into a dated 1.1.0 section so that the next promotion
releases. The first self-release runs refused, by design, because the
entries had not been rolled up before develop was promoted. Also log the
security policy added in #24.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Every run warned that Node 20 is deprecated and the v4.4.0 checkout was
being forced onto Node 24. v7.0.1 (3d3c42e) targets node24 natively.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
chore(ci): pin actions/checkout to v7.0.1
Promote version 1.1.0 and update changelog and CI documentation
@ggrace519
ggrace519 merged commit d43bc8b into main Nov 7, 2026
5 checks passed
@ggrace519 ggrace519 mentioned this pull request Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant