Skip to content

Commit deb75d2

Browse files
committed
ci(pipeline.yml): #275 add cocogitto based conventional-commit-check job in GHA
1 parent 731bdb0 commit deb75d2

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/pipeline.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@ on:
88
- main
99

1010
jobs:
11+
conventional-commit-check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- name: Conventional commit check
18+
uses: cocogitto/cocogitto-action@v3
1119
build:
1220
runs-on: ubuntu-latest
21+
needs: conventional-commit-check
1322
steps:
1423
- uses: actions/checkout@v4
1524
- uses: actions/setup-java@v4

cog.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
from_latest_tag = true
2+
ignore_merge_commits = false
3+
tag_prefix = "v" # This is important to enable latest tag check with you use v prefix
4+
#disable_changelog = false
5+
#disable_bump_commit = false
6+
#generate_mono_repository_global_tag = true
7+
#generate_mono_repository_package_tags = true
8+
branch_whitelist = []
9+
skip_ci = "[skip ci]"
10+
#skip_untracked = false
11+
pre_bump_hooks = []
12+
post_bump_hooks = []
13+
pre_package_bump_hooks = []
14+
post_package_bump_hooks = []
15+
16+
[git_hooks]
17+
18+
[commit_types]
19+
20+
[changelog]
21+
path = "CHANGELOG.md"
22+
authors = []
23+
24+
[bump_profiles]
25+
26+
[packages]

0 commit comments

Comments
 (0)