Skip to content

Commit e7290dc

Browse files
ci(github): add workflow commitlint.yml
1 parent 11d8e9e commit e7290dc

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/mergify.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ pull_request_rules:
22
- name: automatic merge for Dependabot pull requests
33
conditions:
44
- author=dependabot[bot]
5+
- check-success=commitlint
56
- check-success=lint
67
- 'title~=^build\(deps-dev\): bump '
78
actions:

.github/workflows/commitlint.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: commitlint
2+
on: [push, pull_request]
3+
4+
permissions:
5+
contents: read
6+
7+
jobs:
8+
commitlint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Commitlint
12+
uses: remarkablemark/commitlint@v1
13+
with:
14+
checkout: true

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: lint
22
on: [push, pull_request]
33

4+
permissions:
5+
contents: read
6+
47
jobs:
58
lint:
69
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)