Skip to content

Commit e5a9d3b

Browse files
authored
fix(ci): add conventional commit prefixes to Dependabot config (#53)
* Add commit-message prefix config to conform with new convention Signed-off-by: lelia <lelia@socket.dev> * Update PR template with Conventional Commits guidance for titles Signed-off-by: lelia <lelia@socket.dev> --------- Signed-off-by: lelia <lelia@socket.dev>
1 parent 51ed8ed commit e5a9d3b

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!-- PR TITLE: use Conventional Commits format — the commit-lint CI check enforces this.
2+
type(scope): Description → feat(docker): Add versioned Node stage
3+
Valid types: feat · fix · docs · chore · ci · refactor · test · perf · revert
4+
Breaking change: add ! after type → feat!: Switch to pre-built images -->
5+
16
## Summary
27

38
<!-- What does this PR do? Why? -->

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ updates:
1212
labels:
1313
- "dependencies"
1414
- "docker"
15+
commit-message:
16+
prefix: "chore"
17+
include: "scope" # → chore(deps): bump trivy from 0.69.2 to 0.69.3
1518

1619
# app_tests Dockerfile — same as above, plus golang and securego/gosec.
1720
- package-ecosystem: "docker"
@@ -21,6 +24,9 @@ updates:
2124
labels:
2225
- "dependencies"
2326
- "docker"
27+
commit-message:
28+
prefix: "chore"
29+
include: "scope"
2430

2531
# GitHub Actions — tracks all uses: ... action versions.
2632
- package-ecosystem: "github-actions"
@@ -30,3 +36,6 @@ updates:
3036
labels:
3137
- "dependencies"
3238
- "github-actions"
39+
commit-message:
40+
prefix: "ci"
41+
include: "scope" # → ci(deps): bump actions/checkout from v3 to v4

0 commit comments

Comments
 (0)