Update to skip merge commits #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)$ |