Skip to content

ci: fix commitlint dependabot guard#97

Merged
P4suta merged 1 commit into
mainfrom
ci/fix-commitlint-dependabot-guard
Jun 17, 2026
Merged

ci: fix commitlint dependabot guard#97
P4suta merged 1 commit into
mainfrom
ci/fix-commitlint-dependabot-guard

Conversation

@P4suta

@P4suta P4suta commented Jun 17, 2026

Copy link
Copy Markdown
Owner

The dependabot commitlint skip (added in #94) guarded on github.actor, which
is the triggering identity — a human gh pr update-branch on a dependabot
PR flips it away from dependabot[bot], so committed ran and failed on the
bot's long subjects and on the update-branch merge commit. This wedged #70/#71/#96.

  • Guard on the PR author (github.event.pull_request.user.login), stable
    across re-triggers.
  • Pass committed --no-merge-commit so gh pr update-branch merge commits
    ("Merge branch 'main' …") never fail the lint.

Unblocks the open dependabot PRs (#70/#71/#96). Part of P4suta/aozora#105.

The guard skipped committed only when github.actor was dependabot, but a
human re-trigger (`gh pr update-branch` on a dependabot PR) changes the
actor — so committed ran and failed on the bot's long subjects and on the
update-branch merge commit. Guard on the PR author instead, and pass
`--no-merge-commit` so merge commits never fail the lint.
@P4suta P4suta enabled auto-merge (squash) June 17, 2026 12:08
@P4suta P4suta merged commit c34b612 into main Jun 17, 2026
27 checks passed
@P4suta P4suta deleted the ci/fix-commitlint-dependabot-guard branch June 17, 2026 12:13
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.

1 participant