Skip to content

fix: support scoped conventional commits in auto-release workflows#60

Merged
rianjs merged 1 commit intomainfrom
fix/auto-release-scoped-commits
Feb 2, 2026
Merged

fix: support scoped conventional commits in auto-release workflows#60
rianjs merged 1 commit intomainfrom
fix/auto-release-scoped-commits

Conversation

@rianjs
Copy link
Copy Markdown
Contributor

@rianjs rianjs commented Feb 2, 2026

Summary

  • Fix auto-release workflows to match scoped conventional commits (feat(cfl):, feat(jtk):)
  • Previously only matched non-scoped format (feat:, fix:)
  • 9 feature commits were stuck without releases due to this bug

Changes

Updated the if condition in both workflow files from:

startsWith(github.event.head_commit.message, 'feat:')

to:

startsWith(github.event.head_commit.message, 'feat')

Test plan

  • After merge, verify auto-release workflows run (not skip) on GitHub Actions
  • Confirm tags are created: git fetch --tags && git tag | grep -E '^(cfl|jtk)-v'
  • Check GitHub releases page for new releases
  • Run brew update && brew upgrade cfl jtk to confirm Homebrew works

Closes #59

The auto-release workflows were skipping all releases because the
commit message condition checked for 'feat:' and 'fix:' prefixes,
but commits use scoped format like 'feat(cfl):' and 'feat(jtk):'.

Changed startsWith checks from 'feat:' to 'feat' (and 'fix:' to 'fix')
to match both scoped and non-scoped conventional commit formats.
@rianjs rianjs merged commit 9c7dc4d into main Feb 2, 2026
7 checks passed
@rianjs rianjs deleted the fix/auto-release-scoped-commits branch February 2, 2026 15:31
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.

fix: auto-release workflows skip scoped conventional commits

1 participant