Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,19 @@ jobs:
with:
fetch-depth: 0
- uses: taiki-e/install-action@v2
if: github.actor != 'dependabot[bot]'
if: github.event.pull_request.user.login != 'dependabot[bot]'
with:
tool: committed
# Dependabot's auto-generated commit subjects/bodies exceed committed's
# 50/72 limits; its PRs are squash-merged with a maintainer-set subject,
# so skip the lint for the bot. The job still runs and succeeds, keeping
# the required "commitlint" check green (a skipped required check blocks).
# Dependabot's auto-generated subjects/bodies exceed committed's 50/72
# limits, so skip the lint for bot-authored PRs (squash-merged with a
# maintainer subject anyway). Guard on the PR *author*, not github.actor:
# a human re-trigger (e.g. `gh pr update-branch`) changes the actor but
# not the author, so an actor guard would wrongly lint the bot's commits.
# `--no-merge-commit` ignores `update-branch` merge commits. The job still
# runs and succeeds, keeping the required "commitlint" check green.
- name: Check Conventional Commits (committed)
if: github.actor != 'dependabot[bot]'
run: committed "${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}"
if: github.event.pull_request.user.login != 'dependabot[bot]'
run: committed --no-merge-commit "${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}"

# Phase-1 fast gate. `just check` runs `cargo check` workspace-wide
# (no codegen, no link) — with the GHA-backed sccache wired in via
Expand Down
Loading