Skip to content

fix: fix check_release workflow to actually validate releases#84

Merged
jimisola merged 1 commit intomainfrom
fix/check-release-workflow
Mar 8, 2026
Merged

fix: fix check_release workflow to actually validate releases#84
jimisola merged 1 commit intomainfrom
fix/check-release-workflow

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 8, 2026

Problem

check_release.yml was a no-op: the if: github.event_name == 'push' condition is always false when called via workflow_call from a release event. The check never ran.

Changes

  • Fixed workflow name
  • Removed the broken no-op condition
  • Added tag format validation (bare semver, e.g. 1.2.3, no v prefix)
  • Added branch validation (allows main, hotfix/*, release/*)

- Was a no-op: 'push' event never fires when called via workflow_call from release
- Validate bare semver tag format (e.g. 1.2.3, not v1.2.3)
- Validate release targets main, hotfix/*, or release/* branch

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jimisola jimisola self-assigned this Mar 8, 2026
@jimisola jimisola merged commit 6044359 into main Mar 8, 2026
6 checks passed
@jimisola jimisola deleted the fix/check-release-workflow branch March 8, 2026 20:46
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