Skip to content

Commit 95e6749

Browse files
authored
chore: split commit and lint checks (#96)
* feat: split commit and lint checks * fix: checkout * fix: yaml linter
1 parent 9cdebb7 commit 95e6749

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: test
2+
on:
3+
push:
4+
branches:
5+
- "main"
6+
- "feature/*"
7+
- "hotfix/*"
8+
- "release/*"
9+
- "renovate/*"
10+
pull_request:
11+
12+
jobs:
13+
commit-message:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- name: conventional commits
21+
uses: webiny/action-conventional-commits@v1.3.0
22+
with:
23+
allowed-commit-types: "build,chore,ci,docs,feat,fix,perf,refactor,style,test"

.github/workflows/tests.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20-
- name: conventional commits
21-
uses: webiny/action-conventional-commits@v1.3.0
22-
with:
23-
allowed-commit-types: "build,chore,ci,docs,feat,fix,perf,refactor,style,test"
2420
- name: Setup Python
2521
uses: actions/setup-python@v5
2622
with:

0 commit comments

Comments
 (0)