Skip to content

fix(ci): run commit lint on pull requests too - #190

Merged
wavival merged 1 commit into
devfrom
fix/commitlint-pull-request
Nov 11, 2026
Merged

wavival merged 1 commit into
devfrom
fix/commitlint-pull-request

Conversation

@wavival

@wavival wavival commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Summary

The dev to stg promotion (#189) cannot merge: stg requires "commitlint / Conventional Commits", and that check never ran on the head of dev (95c20c0).

Cause: #188 was merged by auto-merge-dev.yml, which pushes with the Actions token. Events from that token start no workflow, and commit-lint.yml only ran on push, so no merge into dev made by auto-merge ever gets the check.

Fix: commit-lint.yml also runs on pull requests into dev, stg and main (opened, synchronize, reopened, the same branches as pr-title.yml). A promotion pull request opened by a person now gets the check on its head commit.

  • .github/workflows/commit-lint.yml: pull_request trigger and a comment with the reason.
  • docs/engineering.md and CHANGELOG.md ([Unreleased] > Fixed).

Checks

  • YAML parses; Prettier passes on the changed files.
  • This pull request is the first run of the new trigger: its "commitlint / Conventional Commits" check must appear and pass.

Note

To unblock #189, this pull request has to be merged by a person, not by auto-merge: a push from a person to dev starts the push workflows and the synchronize run on #189.


Generated by Claude Code

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
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
wavival-dev Ready Ready Preview Nov 11, 2026 7:51pm UTC

@github-actions
github-actions Bot enabled auto-merge November 11, 2026 19:51
@wavival
wavival disabled auto-merge November 11, 2026 19:51
@wavival
wavival merged commit 0b89f88 into dev Nov 11, 2026
16 checks passed
@wavival
wavival deleted the fix/commitlint-pull-request branch November 11, 2026 20:03

This branch was successfully deployed

1 active deployment
Preview — 56e4f818 Deployed Nov 11, 2026 by vercel[bot]
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