Skip to content

Commit 9ba8dfd

Browse files
committed
chore(ci): use pull_request.user.login to skip Dependabot PRs in validate-commits workflow
1 parent e060792 commit 9ba8dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate-commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
validate-commits:
99
runs-on: ubuntu-latest
1010
# Skip validation for Dependabot PRs since they follow their own commit format
11-
if: github.actor != 'dependabot[bot]'
11+
if: github.event.pull_request.user.login != 'dependabot[bot]'
1212

1313
steps:
1414
- name: Checkout code

0 commit comments

Comments
 (0)