Skip to content

fix(ci): create GitHub Releases for scheduled auto-version tags - #62

Merged
matthew-on-git merged 1 commit into
mainfrom
fix/ci-scheduled-github-releases
Sep 3, 2026
Merged

fix(ci): create GitHub Releases for scheduled auto-version tags#62
matthew-on-git merged 1 commit into
mainfrom
fix/ci-scheduled-github-releases

Conversation

@matthew-on-git

Copy link
Copy Markdown
Contributor

Summary

Weekly/workflow_dispatch builds in build.yml create a git tag with GITHUB_TOKEN and push it. GitHub does not start other workflows from GITHUB_TOKEN events, so release.yml (on: push tags) never ran. Result: tags v1.12.11v1.12.16 exist, only v1.12.10 (human make release) has a GitHub Release, v1 is stuck on 00a4e64, and version-manifest skipped because github.ref was refs/heads/main.

Change

  • Teach release.yml workflow_call with a required tag input (still handles human/PAT tag pushes via on: push).
  • After a successful image push, build.yml calls release.yml for schedule / workflow_dispatch.
  • version-manifest uses build-and-push.outputs.tag and runs whenever the image push succeeded (release created or already present).
  • Fix floating-tag copy: vv1v1.

Test Plan

  • YAML parses
  • PR CI Validation (does not run build.yml; workflow-only change)
  • Next Monday cron (or a workflow_dispatch) creates a GitHub Release and attaches tool-versions.json
  • Human make release / PAT tag push still hits release.yml via on: push (create-release job skipped)

I will backfill a GitHub Release for v1.12.16 (the image we just published) and move the v1 floating tag to match. Older weekly tags (v1.12.1v1.12.15) can be backfilled the same way if you want them.

Scheduled and workflow_dispatch builds tag with GITHUB_TOKEN, which
GitHub will not use to start release.yml. Call release.yml via
workflow_call after a successful image push, run version-manifest
against the computed tag, and stop rendering the floating tag as vv1.

Human/PAT tag pushes still use release.yml on:push.
@matthew-on-git
matthew-on-git merged commit 12ff633 into main Sep 3, 2026
3 checks passed
@matthew-on-git
matthew-on-git deleted the fix/ci-scheduled-github-releases branch September 3, 2026 02:30
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