Skip to content

fix(ci): draft releases on main and publish weekly - #189

Merged
MichaelSp merged 1 commit into
mainfrom
fix/weekly-draft-releases
Nov 15, 2026
Merged

MichaelSp merged 1 commit into
mainfrom
fix/weekly-draft-releases

Conversation

@MichaelSp

Copy link
Copy Markdown
Owner

Main builds currently publish releases immediately, create a Helm version bump PR, then wait up to ten minutes for it to merge. This can fail an otherwise successful image build, as seen with PR #186.

Successful main builds now create or update a draft using Release Drafter. A weekly workflow runs Mondays at 08:00 UTC and publishes the existing draft with softprops/action-gh-release; no draft means no publication. Both actions are pinned to commit SHAs.

The weekly workflow packages and publishes Helm from the draft's exact commit, with an appVersion matching the Docker tag. Chart publication runs before the Docker draft is published, leaving the draft available for retry if chart publication fails. A shared concurrency group serializes main image builds and weekly publication.

Removes chart bump PR creation, auto-merge polling, and follow-up workflow dispatch. Updates workflow documentation and fixes invalid chart workflow metadata.

Validation:

  • npm run test:ai: 94 tests passed
  • actionlint -shellcheck= and git diff --check: passed
  • Helm lint, template rendering, packaging, and matching Docker image tag: passed
  • Draft selection: six cases passed, covering absent/published/unrelated drafts, valid draft, duplicates, and non-SHA targets

GitHub Actions execution remains to be verified after merge.

@MichaelSp
MichaelSp enabled auto-merge (squash) November 15, 2026 20:46
@MichaelSp
MichaelSp merged commit 340a329 into main Nov 15, 2026
8 checks passed
@MichaelSp
MichaelSp deleted the fix/weekly-draft-releases branch November 15, 2026 20:52
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