mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-03 21:32:25 -06:00
Editing or publishing a release can create its tag, and `createTag` checked protected tag rules against the release publisher instead of the user making the request. A release writer outside a protected tag's allowlist could get that tag created by editing a release an allowlisted user published, or by publishing an allowlisted user's draft. `createTag` now uses the acting user for the protected tag check and for the push and create-ref events, like `CreateNewTag`. GitHub likewise checks tag rulesets against the user who publishes a release. Assisted-by: Claude Code:claude-opus-5-5 --------- Co-authored-by: silverwind <me@silverwind.io>