Skip to content

Commit

Permalink
Add GitLint action to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aschbacd committed Sep 5, 2022
1 parent e37ad04 commit 4f4166b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Linters

on:
pull_request: {}
push: {}

jobs:
gitlint:
runs-on: ubuntu-latest
name: GitLint
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Lint commits, branches, and pull requests
uses: ./
with:
re-branch-name: ^((feature|bug|hotfix|release)\/[a-z\-0-9]+|main)$

0 comments on commit 4f4166b

Please sign in to comment.