Skip to content

Commit cca5eb9

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

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/pipeline.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,18 @@ 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+
fetch-depth: 0
16+
check-latest-tag-only: true # This is required since older commits didn't follow conventional commits
817
build:
918
runs-on: ubuntu-latest
19+
needs: conventional-commit-check
1020
steps:
1121
- uses: actions/checkout@v4
1222
- uses: actions/setup-java@v4

0 commit comments

Comments
 (0)