Merge pull request #335 from openshift-cherrypick-robot/cherry-pick-3… #1216
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: commitlint | |
on: | |
push: | |
branches: ['main', 'release-*'] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@v5 | |
with: | |
configFile: './.github/workflows/conf/commitlintrc.json' | |
helpURL: | | |
Some helpful links | |
Contribution Guide -> https://github.com/red-hat-storage/odf-operator/blob/main/CONTRIBUTING.md#commit-structure | |
Naming Conventions -> https://commitlint.js.org/#/concepts-commit-conventions | |
Rules -> https://commitlint.js.org/#/reference-rules | |
How to Write a Good Git Commit Message -> https://chris.beams.io/posts/git-commit |