ci: release only tags on main #137

Merged
Sebi merged 1 commits from ci/release-guard into main 2026-11-23 18:37:43 +00:00
Owner

The release workflow refuses tags that do not point to a commit on main. Only code that reached main through the protected merge (Owners/Maintainers, required CI checks) is released, the workflow file included — a tag on a commit with a modified workflow publishes nothing.

Goes with the repository settings changed today: v* tags may be pushed only by the Owners team (the Actions token included), main merges only by Owners and Maintainers.

🤖 Generated with Claude Code

https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3

The release workflow refuses tags that do not point to a commit on `main`. Only code that reached main through the protected merge (Owners/Maintainers, required CI checks) is released, the workflow file included — a tag on a commit with a modified workflow publishes nothing. Goes with the repository settings changed today: `v*` tags may be pushed only by the Owners team (the Actions token included), `main` merges only by Owners and Maintainers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi added 1 commit 2026-11-23 18:23:03 +00:00
ci: release only tags on main
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / image (pull_request) Successful in 5m17s
ci / lint (pull_request) Successful in 7m13s
ci / build (pull_request) Successful in 9m7s
ci / test (pull_request) Successful in 12m58s
f278b66efb
Only code that reached main through a protected merge is released, the
release workflow included: a tag on any other commit, such as one with a
changed workflow, publishes nothing. Together with the tag protection
that leaves v* tags to the Owners team.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi merged commit d99a19250b into main 2026-11-23 18:37:43 +00:00
Sebi deleted branch ci/release-guard 2026-11-23 18:37:45 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ZB-Server/uptimesebi#137