Skip to content

Commit 3071b9e

Browse files
committed
ci: use cocogitto-action for conventional commit checks
1 parent 08e4811 commit 3071b9e

File tree

3 files changed

+34
-16
lines changed

3 files changed

+34
-16
lines changed

.github/workflows/app-pipeline-pr.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@ permissions:
1212
contents: read
1313

1414
jobs:
15-
check-conventional-commits:
16-
uses: cocogitto/cocogitto-action@v3
15+
conventional-commit-check:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- name: Conventional commit check
22+
uses: cocogitto/cocogitto-action@v3
1723

1824
linting-pr:
1925
runs-on: ubuntu-latest
2026
needs:
21-
- check-conventional-commits
27+
- conventional-commit-check
2228
steps:
2329
- uses: actions/checkout@v4
2430

.github/workflows/app-pipeline.yml

+14-8
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,14 @@ permissions:
2020
id-token: write # This is required for requesting the JWT
2121

2222
jobs:
23-
check-conventional-commits:
24-
uses: cocogitto/cocogitto-action@v3
23+
conventional-commit-check:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
- name: Conventional commit check
30+
uses: cocogitto/cocogitto-action@v3
2531

2632
linting:
2733
runs-on: ubuntu-latest
@@ -44,7 +50,7 @@ jobs:
4450
runs-on: ubuntu-latest
4551
needs:
4652
- linting
47-
- check-conventional-commits
53+
- conventional-commit-check
4854
steps:
4955
- uses: actions/checkout@v4
5056

@@ -67,7 +73,7 @@ jobs:
6773
working-directory: rates
6874
needs:
6975
- linting
70-
- check-conventional-commits
76+
- conventional-commit-check
7177
steps:
7278
- uses: actions/checkout@v4
7379

@@ -87,7 +93,7 @@ jobs:
8793
runs-on: ubuntu-latest
8894
needs:
8995
- linting
90-
- check-conventional-commits
96+
- conventional-commit-check
9197
steps:
9298
- name: Placeholder for unit test
9399
run: |
@@ -97,7 +103,7 @@ jobs:
97103
runs-on: ubuntu-latest
98104
needs:
99105
- linting
100-
- check-conventional-commits
106+
- conventional-commit-check
101107
steps:
102108
- name: Set up QEMU
103109
uses: docker/setup-qemu-action@v3
@@ -166,7 +172,7 @@ jobs:
166172
167173
- id: bump-version
168174
name: Bump to Next Semver Version
169-
uses: armakuni/github-actions/bump-version@v0.14.11
175+
uses: armakuni/github-actions/bump-version@v0.19.4
170176

171177
- name: Build Docker Image
172178
run: |
@@ -346,7 +352,7 @@ jobs:
346352
needs:
347353
- placeholder-prod-deploy-to-az-container-apps
348354
if: github.ref == 'refs/heads/main'
349-
uses: armakuni/github-actions/.github/workflows/tag-and-release.yml@v0.14.10
355+
uses: armakuni/github-actions/.github/workflows/tag-and-release.yml@v0.19.4
350356
secrets: inherit
351357
with:
352358
download-artifacts: true

.github/workflows/infra-pipeline.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ permissions:
1616
id-token: write # This is required for requesting the JWT
1717

1818
jobs:
19-
check-conventional-commits:
20-
uses: cocogitto/cocogitto-action@v3
19+
conventional-commit-check:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Conventional commit check
26+
uses: cocogitto/cocogitto-action@v3
2127

2228
run-unit-tests:
2329
runs-on: ubuntu-latest
2430
needs:
25-
- check-conventional-commits
31+
- conventional-commit-check
2632
defaults:
2733
run:
2834
working-directory: infrastructure/bootstrap
@@ -73,7 +79,7 @@ jobs:
7379
terraform-compliance:
7480
runs-on: ubuntu-latest
7581
needs:
76-
- check-conventional-commits
82+
- conventional-commit-check
7783
defaults:
7884
run:
7985
working-directory: infrastructure/bootstrap
@@ -126,7 +132,7 @@ jobs:
126132
tf-code-lint-and-sast:
127133
runs-on: ubuntu-latest
128134
needs:
129-
- check-conventional-commits
135+
- conventional-commit-check
130136
defaults:
131137
run:
132138
working-directory: infrastructure/bootstrap

0 commit comments

Comments
 (0)