Merge pull request #455 from openshift-cherrypick-robot/cherry-pick-4… #1603
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 |