Skip to content

feat: packages are released by a workflow anyone with write access can start - #23

Merged
Xenolphthalein merged 1 commit into
mainfrom
feat/release-workflow
Nov 17, 2026
Merged

Xenolphthalein merged 1 commit into
mainfrom
feat/release-workflow

Conversation

@Xenolphthalein

Copy link
Copy Markdown
Contributor

For the organization's roles (option B): headset teams release packages without asking core, and nobody tags by hand.

  • Run workflow on main (Actions, Packages), or gh workflow run packages.yml --ref main -f release="...": one line on what the release brings.
  • The run builds as a push does (reusing what the pull requests built), then the release job checks that main hasn't moved since the run started, picks the next free date tag (YYYY.MM.DD, then .1, .2), creates the annotated tag (the line, and who started it) and publishes the release in the same run. A tag pushed with the workflow's own token starts no second run.
  • A release started by hand isn't cancelled by a later push to main.
  • A hand-pushed tag still releases as before; the ruleset that lets only GitHub Actions create date tags follows after this merges.
  • README: how to release.

…n start, which picks the next date tag itself

A release was a date tag pushed by hand. Now Run workflow on main, with one line on what the release brings,
builds as a push does, checks that main has not moved, tags main's commit with the next free date (YYYY.MM.DD,
then .1, .2) and that line and who started it as its message, and publishes the release in the same run (a tag
pushed with the workflow's token starts no run). A release started by hand is never cancelled by a later push.
A ruleset will let only this workflow create release tags.
@Xenolphthalein
Xenolphthalein requested a review from a team as a code owner November 17, 2026 10:19
@Xenolphthalein
Xenolphthalein enabled auto-merge (rebase) November 17, 2026 10:19
@Xenolphthalein
Xenolphthalein merged commit 8572c27 into main Nov 17, 2026
22 checks passed
@Xenolphthalein
Xenolphthalein deleted the feat/release-workflow branch November 17, 2026 10:21
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