Skip to content

Commit c002e97

Browse files
authored
chore: add/update default repository files (#34)
1 parent c2ec016 commit c002e97

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

.github/workflows/commit-check.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
# GitHub Actions workflow for commit message validation
3+
# Validates commit messages against conventional commit format and other standards
4+
# Checks message format, branch naming, author details, and signoff requirements
5+
name: commit-check
6+
7+
on:
8+
pull_request:
9+
branches:
10+
- main
11+
workflow_dispatch:
12+
13+
permissions: read-all
14+
15+
jobs:
16+
commit-check:
17+
runs-on: ubuntu-24.04-arm
18+
steps:
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Create commit-check.toml file
24+
run: |
25+
cat > commit-check.toml << EOF
26+
[commit]
27+
subject_capitalized = false
28+
subject_max_length = 72
29+
EOF
30+
31+
- uses: commit-check/commit-check-action@a0193b1ca486178b85d7a1db145af34cd227f81f # v2.1.1
32+
env:
33+
GH_TOKEN: ${{ github.token }}

.github/workflows/renovate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ jobs:
6262
private-key: ${{ secrets.MY_RENOVATE_GITHUB_PRIVATE_KEY }}
6363

6464
- name: 💡 Self-hosted Renovate
65-
uses: renovatebot/github-action@2d941ef4e268e53affdc1f11365c69a73e544f50 # v43.0.14
65+
uses: renovatebot/github-action@ea850436a5fe75c0925d583c7a02c60a5865461d # v43.0.20
6666
with:
6767
token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)