fix(ci): skip commit message check for dependabot push events#5931
fix(ci): skip commit message check for dependabot push events#5931
Conversation
The job-level condition used github.event.pull_request.user.login to detect dependabot, which is null on push events. This caused the commit message check to run and fail on dependabot merges to master due to long lines in auto-generated commit bodies. Replace with github.actor which is set for both push and PR events.
|
Claude finished @otavio's task in 4m 18s —— View job Code Review CompleteReviewed 1 file across code quality, security, testing, language patterns, and architecture — no issues found. The code looks good as-is. The condition logic was verified against all trigger scenarios:
Additional notesThe architecture review found that if: ${{ github.event.pull_request.draft == false || github.event_name == 'push' }}This is outside the scope of this PR and not blocking. Also confirmed that To request another review round, comment |
Summary
ifcondition usedgithub.event.pull_request.user.loginto detect dependabot, which is null on push events, so the check always rangithub.actorwhich is set for both push and PR eventsTest plan