Skip to content

Commit 73abd18

Browse files
committed
feat: adds conventional-title lint check
1 parent f437622 commit 73abd18

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/trunk.yaml .github/workflows/lint.yaml

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Lint
22

3+
concurrency:
4+
group: lint-${{ github.head_ref || github.run_id }}
5+
cancel-in-progress: true
6+
37
on: pull_request
48

59
permissions:
@@ -9,13 +13,24 @@ permissions:
913
pull-requests: read
1014

1115
jobs:
12-
lint:
16+
trunk-check:
1317
runs-on: ubuntu-latest
1418
steps:
1519
- name: Check out Git repository
1620
uses: actions/checkout@v4
1721
- name: Trunk Check
1822
uses: trunk-io/trunk-action@v1
23+
24+
tf-fmt:
25+
runs-on: ubuntu-latest
26+
steps:
1927
- name: Set up Terraform CLI
2028
uses: hashicorp/setup-terraform@v3
2129
- run: terraform fmt -check -recursive
30+
31+
conventional-title:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: amannn/action-semantic-pull-request@v5
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.trunk/trunk.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runtimes:
1616
lint:
1717
enabled:
1818
19-
19+
2020
- git-diff-check
2121
2222
@@ -25,7 +25,7 @@ lint:
2525
2626
2727
28-
- trufflehog@3.80.5
28+
- trufflehog@3.81.7
2929
3030
ignore:
3131
- linters: [shellcheck]

0 commit comments

Comments
 (0)