Skip to content

Commit 7a06e20

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

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pipeline.yml

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

77
jobs:
8+
conventional-commit-check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Conventional commit check
15+
uses: cocogitto/cocogitto-action@v3
16+
with:
17+
check-latest-tag-only: true # This is required since older commits didn't follow conventional commits
818
build:
919
runs-on: ubuntu-latest
20+
needs: conventional-commit-check
1021
steps:
1122
- uses: actions/checkout@v4
1223
- uses: actions/setup-java@v4

0 commit comments

Comments
 (0)