Skip to content

Commit

Permalink
ci(pipeline.yml): #275 add cocogitto based conventional-commit-check …
Browse files Browse the repository at this point in the history
…job in GHA
  • Loading branch information
abhisheksr01 committed Dec 25, 2024
1 parent 731bdb0 commit deb75d2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,17 @@ on:
- main

jobs:
conventional-commit-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3
build:
runs-on: ubuntu-latest
needs: conventional-commit-check
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down
26 changes: 26 additions & 0 deletions cog.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
from_latest_tag = true
ignore_merge_commits = false
tag_prefix = "v" # This is important to enable latest tag check with you use v prefix
#disable_changelog = false
#disable_bump_commit = false
#generate_mono_repository_global_tag = true
#generate_mono_repository_package_tags = true
branch_whitelist = []
skip_ci = "[skip ci]"
#skip_untracked = false
pre_bump_hooks = []
post_bump_hooks = []
pre_package_bump_hooks = []
post_package_bump_hooks = []

[git_hooks]

[commit_types]

[changelog]
path = "CHANGELOG.md"
authors = []

[bump_profiles]

[packages]

0 comments on commit deb75d2

Please sign in to comment.