Skip to content

Read the default branch in the release guard - #3028

Merged
tanem merged 1 commit into
masterfrom
guard-reads-default-branch
Aug 8, 2026
Merged

Read the default branch in the release guard#3028
tanem merged 1 commit into
masterfrom
guard-reads-default-branch

Conversation

@tanem

@tanem tanem commented Aug 8, 2026

Copy link
Copy Markdown
Owner

The guard named master outright. That is correct here and will stay correct, so this is not a fix — it is alignment with the shape the fleet documents, now that tanem/release-action's README and §3.1 of the decision spec both read the default branch rather than naming one.

The reading form exists because a literal is a trap in anything meant to be copied: name a branch the repo doesn't have and every release skips, silently and forever. tanem/release-action itself is on main, and GitHub creates new repos on main, while every existing fleet repo is on master. The generator will stamp the reading form for the same reason.

Keeping every fleet release workflow on one form means a future reader diffing them against the spec finds no drift to explain.

The guard named `master` outright. That is correct here and will stay
correct, so this is not a fix — it is alignment with the shape the fleet
documents, now that tanem/release-action's README and the decision spec
both read the default branch rather than naming one.

The reading form exists because a literal is a trap in anything copied:
name a branch the repo does not have and every release skips, silently
and forever. tanem/release-action itself is on main, and GitHub creates
new repos on main, while every existing fleet repo is on master.

Keeping all the fleet's release workflows on one form means a future
reader diffing them against the spec finds no drift to explain.
@tanem tanem added the internal label Aug 8, 2026
@tanem
tanem merged commit ad147bd into master Aug 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant