ci(.github/workflows): add tag-triggered release calendar update, fix stale Node setup#26172
Open
ausbru87 wants to merge 1 commit into
Open
ci(.github/workflows): add tag-triggered release calendar update, fix stale Node setup#26172ausbru87 wants to merge 1 commit into
ausbru87 wants to merge 1 commit into
Conversation
… stale Node setup Add .github/workflows/update-release-calendar.yaml, a new workflow triggered on every stable release tag (v*.*.*) that runs scripts/update-release-calendar.sh and opens a PR against main via peter-evans/create-pull-request. RC and dev tags are skipped via the if condition. Fix the existing update-docs job in release.yaml: the .github/actions/setup-node composite action was deleted in the mise refactor (fe25766) but the job still referenced it, causing the step to fail. Replace it with setup-mise (node pnpm) and an explicit ./scripts/pnpm_install.sh call, matching the pattern used by other jobs in the same file. Closes #26171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two related gaps that prevented
docs/install/releases/index.mdfrom being updated automatically when a new release is published.1. New tag-triggered workflow
release.yamlis only triggered byworkflow_dispatch(manual). Release tags published outside that path never updated the calendar. The new.github/workflows/update-release-calendar.yamlfires on everyv*.*.*push tag, skips RC/dev pre-releases, checks outmain(not the tag), fetches all tags so the script can compute the current release window, and opens a PR viapeter-evans/create-pull-request.2. Fix broken
update-docsjob inrelease.yamlThe
.github/actions/setup-nodecomposite action was deleted in the mise refactor (fe25766) but theupdate-docsjob still referenced it, making the step fail on every release. Replaced with.github/actions/setup-mise(node pnpm) +./scripts/pnpm_install.sh, matching the pattern used by other jobs in the same file.Test plan
actionlintpasses on both changed files.mainto verify end-to-end behavior before the next tag push.Closes #26171
Investigation context
scripts/update-release-calendar.shexisted and was correct, but no automation called it on tag push. Theupdate-docsjob inrelease.yamlwas broken because itssetup-nodestep referenced a deleted composite action.setup-nodewas removed in fe25766 butrelease.yamlwas updated 3 days later in b95697a without switching to the mise pattern.