File tree Expand file tree Collapse file tree 3 files changed +59
-17
lines changed Expand file tree Collapse file tree 3 files changed +59
-17
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file.
12
12
{{ range .Unreleased.CommitGroups -}}
13
13
### {{ .Title }}
14
14
{{ range .Commits -}}
15
- - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
15
+ - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }}))
16
16
{{ end }}
17
17
{{ end -}}
18
18
{{ end -}}
@@ -24,7 +24,7 @@ All notable changes to this project will be documented in this file.
24
24
{{ range .CommitGroups -}}
25
25
### {{ .Title }}
26
26
{{ range .Commits -}}
27
- - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
27
+ - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }}))
28
28
{{ end }}
29
29
{{ end -}}
30
30
Original file line number Diff line number Diff line change 1
1
style: github
2
+ # https://github.com/garden-io/garden/tree/main/.chglog
3
+ # https://github.com/git-chglog/git-chglog
4
+ # https://github.com/quay/clair/tree/main/.chglog
2
5
template: CHANGELOG.tpl.md
3
6
info:
4
7
title: CHANGELOG
5
8
repository_url: https://github.com/guanguans/ai-commit
6
9
options:
10
+ sort: semver
7
11
commits:
12
+ sort_by: Scope
8
13
filters:
9
14
Type:
10
15
- build
@@ -19,20 +24,53 @@ options:
19
24
- style
20
25
- test
21
26
commit_groups:
27
+ group_by: Type
28
+ sort_by: Custom
29
+ title_order:
30
+ # https://github.com/fobgochod/git-commit-message-format/blob/main/src/main/resources/messages/GitBundle.properties#L37
31
+ - feat
32
+ - fix
33
+ - docs
34
+ - style
35
+ - refactor
36
+ - perf
37
+ - test
38
+ - build
39
+ - ci
40
+ - chore
41
+ - revert
22
42
title_maps:
23
- chore: Chores
24
- ci: CI
25
- feat: Features
26
- fix: Bug Fixes
27
- perf: Performance Improvements
28
- refactor: Code Refactoring
29
- test: Tests
43
+ # https://github.com/antfu/changelogithub/blob/main/src/config.ts
44
+ # https://github.com/unjs/changelogen/blob/main/src/config.ts
45
+ # https://gitmoji.dev/
46
+ build: 📦 Builds
47
+ chore: 🏡 Chores
48
+ ci: 🤖 Continuous Integrations
49
+ docs: 📖 Documents
50
+ feat: ✨ Features # 🚀 Enhancements
51
+ fix: 🐞 Bug Fixes
52
+ perf: 🏎 Performance Improvements
53
+ refactor: 💅 Code Refactorings
54
+ revert: ⏪️ Reverts
55
+ style: 🎨 Styles
56
+ test: ✅ Tests
57
+
58
+ examples: 🏀 Examples
59
+ types: 🌊 Types
30
60
header:
31
61
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
32
62
pattern_maps:
33
63
- Type
34
64
- Scope
35
65
- Subject
66
+ issues:
67
+ prefix:
68
+ - "#"
69
+ refs:
70
+ actions:
71
+ - Closes
72
+ - Fixes
73
+ - PullRequest
36
74
notes:
37
75
keywords:
38
76
- BREAKING CHANGE
Original file line number Diff line number Diff line change 1
1
name: secrets check
2
2
3
- on: [ push ]
3
+ on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ push:
4
7
5
8
jobs:
6
9
security-check:
9
12
- name: Checkout code
10
13
uses: actions/checkout@v4
11
14
with:
12
- # ref: ${{ github.ref_name }}
15
+ # ref: ${{ github.ref_name }}
13
16
fetch-depth: 0
14
- - name: TruffleHog OSS
15
- uses: trufflesecurity/trufflehog@v3.88.27
17
+ - name: Secret Scanning
18
+ uses: trufflesecurity/trufflehog@main
16
19
with:
17
- # path: ./
18
- # base: ${{ github.event.repository.default_branch }}
19
- # head: ${{ github.ref_name }}
20
- extra_args: --debug --only-verified
20
+ # path: ./
21
+ # base: ${{ github.event.repository.default_branch }}
22
+ # head: ${{ github.ref_name }}
23
+ # extra_args: --results=verified,unknown --only-verified --debug
24
+ extra_args: --results=verified,unknown
You can’t perform that action at this time.
0 commit comments