Skip to content

Commit a9081f9

Browse files
authored
Fix exclusion of Dependabot commit message checks (#42)
We need to filter out the Dependabot branches as well as our existing filtering out of commits by Dependabot. This is because if we need to update versions manually, we add our own commits to the PRs that Dependabot creates.
1 parent 79f5eb5 commit a9081f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-commit-message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy
1111

1212
jobs:
1313
check-commit-message-style:
14-
if: github.actor!= 'dependabot[bot]'
14+
if: github.actor!= 'dependabot[bot]' && contains(github.head_ref, 'dependabot/github_actions/') == false
1515
name: Check commit message style
1616
runs-on: ubuntu-latest
1717
steps:

0 commit comments

Comments
 (0)