Skip to content

Conversation

@chopkinsmade
Copy link
Contributor

@chopkinsmade chopkinsmade commented Jan 22, 2026

What

Check if the current commit being scanned is from a merged PR. If this is true, skip the check for the signed-off-by trailer

Why

Commits from a merged PR will not have the signed-off-by git trailer as these commit messages are created by GitHub. This will cause the check on the pre-commit hooks to fail as they need the trailer present on the commit

How this has been tested

  • I have tested locally
  • Testing not required

Reviewer Checklist

  • I have reviewed the PR and ensured no secret values are present

@chopkinsmade chopkinsmade force-pushed the bugfix/handle-branch-merges-commit-trailers branch 2 times, most recently from 7e361ad to 4a9664c Compare January 22, 2026 16:53
@chopkinsmade chopkinsmade force-pushed the bugfix/handle-branch-merges-commit-trailers branch from 4a9664c to 1ca7d7a Compare January 22, 2026 16:55
@chopkinsmade chopkinsmade marked this pull request as ready for review January 22, 2026 17:00
@chopkinsmade chopkinsmade requested a review from a team as a code owner January 22, 2026 17:00
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