Skip to content

Commit 0dea21e

Browse files
committed
ci: align commit checks with repository configuration
1 parent d413d0c commit 0dea21e

7 files changed

Lines changed: 31 additions & 6 deletions

File tree

‎.commitlintrc.json‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
{
2-
"extends": ["@commitlint/config-conventional"]
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"subject-case": [
5+
1,
6+
"never",
7+
["sentence-case", "start-case", "pascal-case", "upper-case"]
8+
],
9+
"header-max-length": [1, "always", 100],
10+
"body-max-line-length": [1, "always", 100],
11+
"footer-max-line-length": [1, "always", 100]
12+
}
313
}

‎.github/dependabot.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
version: 2
22
updates:
33
- package-ecosystem: docker
4+
commit-message:
5+
prefix: build
6+
include: scope
47
open-pull-requests-limit: 20
58
directory: "/"
69
schedule:
@@ -15,6 +18,9 @@ updates:
1518
- "*"
1619

1720
- package-ecosystem: github-actions
21+
commit-message:
22+
prefix: build
23+
include: scope
1824
open-pull-requests-limit: 20
1925
directories:
2026
- "/"
@@ -31,6 +37,9 @@ updates:
3137
- "*"
3238

3339
- package-ecosystem: npm
40+
commit-message:
41+
prefix: build
42+
include: scope
3443
open-pull-requests-limit: 20
3544
versioning-strategy: increase
3645
directories:
@@ -52,6 +61,9 @@ updates:
5261
- "*"
5362

5463
- package-ecosystem: "devcontainers"
64+
commit-message:
65+
prefix: build
66+
include: scope
5567
open-pull-requests-limit: 20
5668
directory: "/"
5769
schedule:

‎.github/renovate.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"extends": ["config:recommended"],
44
"enabledManagers": ["github-actions", "nodenv", "custom.regex"],
55
"semanticCommits": "enabled",
6+
"semanticCommitType": "build",
67
"minimumReleaseAge": "7 days",
78
"minimumReleaseAgeBehaviour": "timestamp-optional",
89
"pinDigests": true,

‎.github/workflows/__semantic-pull-request.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ permissions: {}
1212

1313
jobs:
1414
main:
15-
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0
1615
permissions:
17-
contents: write
18-
pull-requests: write
16+
contents: read
17+
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@f0baf63a8aa2bcfe9847aee00d1fdfa5e32a749a # 2.0.0

‎.github/workflows/__shared-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions: {}
77

88
jobs:
99
linter:
10-
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0
10+
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@f0baf63a8aa2bcfe9847aee00d1fdfa5e32a749a # 2.0.0
1111
permissions:
1212
actions: read
1313
contents: read

‎CONTRIBUTING.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Contributing
22

3+
Use the [common commit process](https://github.com/hoverkraft-tech/ci-github-common/blob/9e235e87e1da898e33689b346590dfc69b45b0a6/docs/usage/commits.md)
4+
for commit messages, PR titles and dependency updates.
5+
36
When contributing to this repository, please first discuss the change you wish to make via issue,
47
email, or any other method with the owners of this repository before making a change.
58

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/hoverkraft-tech/docker-base-images/super-linter:2.0.0
1+
FROM ghcr.io/hoverkraft-tech/docker-base-images/super-linter:2.0.1@sha256:7fbeb0e47711e939db09027b64d2b4f405dd271dad056fe42dc05ac15a6ddab0
22

33
HEALTHCHECK --interval=5m --timeout=10s --start-period=30s --retries=3 CMD ["/bin/sh","-c","test -d /github/home"]
44
ARG UID=1000

0 commit comments

Comments
 (0)