forked from rook/rook
We now use a github action to perform commit linting instead of the old deprecated commitlint bot. Closes: https://github.com/rook/rook/issues/5547 Signed-off-by: Sébastien Han <seb@redhat.com>
17 lines
428 B
YAML
17 lines
428 B
YAML
name: Commitlint
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: wagoid/commitlint-github-action@v1.6.0
|
|
with:
|
|
configFile: './.commitlintrc.json'
|
|
helpURL: https://rook.io/docs/rook/master/development-flow.html#commit-structure
|