ci(commitlint): skip dependabot pull request branches

This commit is contained in:
xixu-me committed 2026-03-24 19:26:45 +08:00
1 parent b2fb0b3a5c
commit e3a0da9181
3 files changed
+20 -2

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
commitlint:
name: Validate Commit Messages
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ github.actor != 'dependabot[bot]' && !startsWith(github.head_ref, 'dependabot/') }}
timeout-minutes: 10
steps:
- name: Checkout