Skip to content

ci(.github/workflows): add tag-triggered release calendar update, fix stale Node setup#26172

Open
ausbru87 wants to merge 1 commit into
mainfrom
ci/fix-release-calendar-automation
Open

ci(.github/workflows): add tag-triggered release calendar update, fix stale Node setup#26172
ausbru87 wants to merge 1 commit into
mainfrom
ci/fix-release-calendar-automation

Conversation

@ausbru87

@ausbru87 ausbru87 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes two related gaps that prevented docs/install/releases/index.md from being updated automatically when a new release is published.

1. New tag-triggered workflow

release.yaml is only triggered by workflow_dispatch (manual). Release tags published outside that path never updated the calendar. The new .github/workflows/update-release-calendar.yaml fires on every v*.*.* push tag, skips RC/dev pre-releases, checks out main (not the tag), fetches all tags so the script can compute the current release window, and opens a PR via peter-evans/create-pull-request.

2. Fix broken update-docs job in release.yaml

The .github/actions/setup-node composite action was deleted in the mise refactor (fe25766) but the update-docs job 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

  • actionlint passes on both changed files.
  • The new workflow can be manually dispatched from main to verify end-to-end behavior before the next tag push.

Closes #26171


Generated by Coder Agents, on behalf of @ausbru87

Investigation context
  • Root cause: scripts/update-release-calendar.sh existed and was correct, but no automation called it on tag push. The update-docs job in release.yaml was broken because its setup-node step referenced a deleted composite action.
  • setup-node was removed in fe25766 but release.yaml was updated 3 days later in b95697a without switching to the mise pattern.

… 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
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.

automation: auto-update release calendar docs on new release tags

1 participant