Skip to content

Commit d475b14

Browse files
authored
Merge pull request #65 from 2-alchemists/add-commitlint-action
ci(workflow): declare commitlint job
2 parents 82fced3 + 29052ef commit d475b14

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ on:
77
branches: [ master ]
88

99
jobs:
10+
check-commits:
11+
runs-on: ubuntu-18.04
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
18+
- if: "(github.actor != 'dependabot[bot]') && !startsWith(github.head_ref, 'dependabot/')"
19+
name: Check commits
20+
uses: wagoid/commitlint-github-action@v2
21+
1022
build:
1123
runs-on: ubuntu-18.04
1224

0 commit comments

Comments
 (0)