Skip to content

Commit e42bb0f

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

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/pipeline.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@ on:
55
pull_request:
66

77
jobs:
8+
conventional-commit-check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Conventional commit check
13+
uses: cocogitto/cocogitto-action@v3
14+
with:
15+
check-latest-tag-only: true # This is required since older commits didn't follow conventional commits
816
build:
917
runs-on: ubuntu-latest
18+
needs: conventional-commit-check
1019
steps:
1120
- uses: actions/checkout@v4
1221
- uses: actions/setup-java@v4

0 commit comments

Comments
 (0)