Repository navigation
fix(ci): run commit lint on pull requests too - #190
Merged
Merged
Conversation
A pull request merged into dev by auto-merge-dev.yml is pushed with the Actions token, which starts no workflow, so the head of dev never got the required commit lint check and the dev to stg promotion could not merge. commit-lint.yml now also runs on pull requests into dev, stg and main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FH3rL9J8enw34vUzxicRrr
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
The
devtostgpromotion (#189) cannot merge:stgrequires "commitlint / Conventional Commits", and that check never ran on the head ofdev(95c20c0).Cause: #188 was merged by
auto-merge-dev.yml, which pushes with the Actions token. Events from that token start no workflow, andcommit-lint.ymlonly ran on push, so no merge intodevmade by auto-merge ever gets the check.Fix:
commit-lint.ymlalso runs on pull requests intodev,stgandmain(opened,synchronize,reopened, the same branches aspr-title.yml). A promotion pull request opened by a person now gets the check on its head commit..github/workflows/commit-lint.yml:pull_requesttrigger and a comment with the reason.docs/engineering.mdandCHANGELOG.md([Unreleased] > Fixed).Checks
Note
To unblock #189, this pull request has to be merged by a person, not by auto-merge: a push from a person to
devstarts the push workflows and thesynchronizerun on #189.Generated by Claude Code