Skip to content

ci: revert allowing hotfix/* in authorize#1721

Open
daniel-graham-amplitude wants to merge 1 commit into
mainfrom
revert-1717-allow-hotfix-publish
Open

ci: revert allowing hotfix/* in authorize#1721
daniel-graham-amplitude wants to merge 1 commit into
mainfrom
revert-1717-allow-hotfix-publish

Conversation

@daniel-graham-amplitude
Copy link
Copy Markdown
Collaborator

@daniel-graham-amplitude daniel-graham-amplitude commented May 4, 2026

Reverts #1717


Note

Medium Risk
Changes release workflow gating and removes hotfix/* support in the initial authorization step, which could block intended release runs from hotfix branches. Impact is limited to CI/CD behavior but affects the publishing path.

Overview
Tightens publish-v2.yml authorization branch protection by removing hotfix/* support and requiring the workflow to be triggered from main (except for dry-run, which still allows any branch).

Also simplifies the branch-check step by inlining GitHub context variables instead of passing them via step env.

Reviewed by Cursor Bugbot for commit d0cec20. Bugbot is set up for automated code reviews on this repo. Configure here.

@amplitude amplitude deleted a comment from semgrep-amplitude Bot May 4, 2026
@daniel-graham-amplitude daniel-graham-amplitude changed the title Revert "ci: allow hotfix publish" ci: revert allowing hotfix/* in authorize May 4, 2026
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.

2 participants