Skip to content

Commit 1dd1872

Browse files
committed
ci: skip semantic PR title check for Dependabot PRs
Dependabot auto-generates titles with 'Bump' (uppercase), which violates the lowercase-subject rule. Since Dependabot titles are auto-generated and not human-controlled, skip the check for bot PRs. Also add commit-message prefix to dependabot.yml so future PRs use the 'chore(deps)' conventional commits prefix. Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
1 parent 3e3b3db commit 1dd1872

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ updates:
77
labels:
88
- dependencies
99
open-pull-requests-limit: 5
10+
commit-message:
11+
prefix: "chore(deps)"
1012

1113
- package-ecosystem: github-actions
1214
directory: /
@@ -15,11 +17,15 @@ updates:
1517
labels:
1618
- dependencies
1719
open-pull-requests-limit: 5
20+
commit-message:
21+
prefix: "chore(deps)"
1822

1923
- package-ecosystem: docker
2024
directory: /
2125
schedule:
2226
interval: weekly
2327
labels:
2428
- dependencies
25-
open-pull-requests-limit: 3
29+
open-pull-requests-limit: 3
30+
commit-message:
31+
prefix: "chore(deps)"

.github/workflows/pr-title.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ permissions:
1010
jobs:
1111
semantic-title:
1212
name: Semantic PR Title
13+
if: github.actor != 'dependabot[bot]'
1314
runs-on: ubuntu-latest
1415
timeout-minutes: 5
1516
steps:

0 commit comments

Comments
 (0)