File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Run cocogitto in PRs via cocogitto-action runner to support local cog.toml config.
2+ # (which cocogitto-bot seems to not support for some reason?)
3+ name : Cocogitto check
4+
5+ on :
6+ pull_request :
7+
8+ jobs :
9+ cog :
10+ name : " Check conventional commits"
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 2
13+ steps :
14+ - name : " Checkout Repository"
15+ uses : actions/checkout@v6.0.2
16+ with :
17+ fetch-tags : true
18+ fetch-depth : 0
19+ # pick the pr HEAD instead of the merge commit
20+ ref : ${{github.event.pull_request.head.sha}}
21+ - name : Conventional commit check
22+ uses : cocogitto/cocogitto-action@v4.1.0
23+ with :
24+ command : check
25+ args : ${{github.event.pull_request.base.sha}}..${{github.event.pull_request.head.sha}}
Original file line number Diff line number Diff line change 1+ tag_prefix = " v"
2+ ignore_merge_commits = true
3+
4+ [commit_types ]
5+ wip = { changelog_title = " Work in progress" , omit_from_changelog = true }
6+ sq = { changelog_title = " Squash me later!" , omit_from_changelog = true }
You can’t perform that action at this time.
0 commit comments