fix: TRAC-514 - accept ticket-first commit format in release flow and use PAT for release PRs#1394
Merged
parthshahp merged 1 commit intoJul 23, 2026
Conversation
… use PAT for release PRs
parthshahp
commented
Jul 22, 2026
Contributor
Author
There was a problem hiding this comment.
This whole thing isn't strictly necessary but just a nice to have to be consistent across BC repos. Let me know if we want to keep this scoped to just the GH_TOKEN issue.
chanceaclark
approved these changes
Jul 22, 2026
jairo-bc
approved these changes
Jul 23, 2026
parthshahp
deleted the
parthshahp/ltrac-529-fix-stencil-cli-github-bot-pr-workflow-run
branch
July 23, 2026 12:28
Contributor
|
🎉 This PR is included in version 9.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two release-flow problems in one change (LTRAC-529 / TRAC-514):
1. Ticket-first PR titles broke the release pipeline
Commits using the new BigCommerce format (
TICKET-123: type(scope) - subject, as enforced by@bigcommerce/validate-commits) failed in two places:@semantic-release/commit-analyzerFix: new
commit-format.cjsexports sharedparserOptsaccepting both the new ticket-first format and the legacy conventional format. It's wired intocommitlint.config.cjsand a newrelease.config.cjs(replacing.releaserc, which as JSON couldn't share the regex).type-enumis now the union of config-conventional and validate-commits types.2. LTRAC-529: bot release PRs never ran CI automatically
Release PRs opened by
semantic-release-github-pullrequest-fixedwithGITHUB_TOKENdon't trigger PR workflows (9.0.2 and 9.0.3 both needed manual re-runs). The plugin prefersenv.GH_TOKEN_RELEASEwhen creating the PR, sorelease.ymlnow passes the PAT there — release PRs will be authored by the PAT user and trigger checks automatically.Testing
commit-analyzerwith the new parserOpts:TRAC-1206: feat - …→ minor,feat!→ major,fix→ patch,chore/docs→ no releaserelease.config.cjs; eslint passes