Skip to content

Commit 7762b3e

Browse files
committed
feat: add probot app and notification workflows
1 parent 81bf423 commit 7762b3e

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Go
2727
uses: actions/setup-go@v4
2828
with:
29-
go-version: '1.22.0'
29+
go-version: '1.24'
3030

3131
- name: Install goimports
3232
run: |

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
golang 1.23.0
2+
golangci-lint 2.7.2

commitlint.config.cjs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'type-enum': [2, 'always', [
5+
'feat', // A new feature
6+
'fix', // A bug fix
7+
'docs', // Documentation only changes
8+
'style', // Changes that do not affect code meaning
9+
'refactor', // A code change that neither fixes a bug nor adds a feature
10+
'perf', // A code change that improves performance
11+
'test', // Adding missing tests or correcting existing tests
12+
'build', // Build system or external dependencies
13+
'ci', // CI configuration changes
14+
'chore', // Other changes that don't modify src or test files
15+
'revert', // Reverts a previous commit
16+
]],
17+
'type-case': [2, 'always', 'lowerCase'],
18+
'type-empty': [2, 'never'],
19+
'scope-case': [2, 'always', 'lowerCase'],
20+
'subject-empty': [2, 'never'],
21+
'subject-full-stop': [2, 'never', '.'],
22+
'header-max-length': [2, 'always', 72],
23+
},
24+
};

0 commit comments

Comments
 (0)