Skip to content

chore(ci): merge release PRs weekly instead of immediately - #61

Merged
udondan merged 1 commit into
mainfrom
chore/weekly-release-merge
Sep 14, 2026
Merged

udondan merged 1 commit into
mainfrom
chore/weekly-release-merge

Conversation

@udondan

@udondan udondan commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Until now, release-please.yml turned on auto-merge for every release PR as soon as it was opened. Since main has no required checks, the PR merged within seconds, so every feature merge became its own release (see #34–#36, #41–#43, #56, #59).

This switches to the setup used in udondan/cfn-teleport:

  • release-please.yml: removes the auto-merge step. release-please now only opens and updates the release PR. The draft release and publish chain are unchanged.
  • New release-automerge-weekly.yml: runs Sundays at 18:00 UTC (or via workflow_dispatch). It finds the open release-please--branches--main PR, stops with an error if its checks aren't passing, and otherwise squash-merges it with OVERRIDE_TOKEN. The PAT is what makes the merge trigger the release-please run that creates and publishes the release. The job uses the gh CLI instead of cfn-teleport's unpinned juliangruber/* actions.
  • CLAUDE.md: documents the weekly merge.

@udondan
udondan merged commit b0439f1 into main Sep 14, 2026
3 checks passed
@udondan
udondan deleted the chore/weekly-release-merge branch September 14, 2026 05:31
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