Skip to content

Commit 4f4166b

Browse files
committed
Add GitLint action to workflows
1 parent e37ad04 commit 4f4166b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/linters.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Linters
2+
3+
on:
4+
pull_request: {}
5+
push: {}
6+
7+
jobs:
8+
gitlint:
9+
runs-on: ubuntu-latest
10+
name: GitLint
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
- name: Lint commits, branches, and pull requests
15+
uses: ./
16+
with:
17+
re-branch-name: ^((feature|bug|hotfix|release)\/[a-z\-0-9]+|main)$

0 commit comments

Comments
 (0)