Files
my-rook-config/.github/workflows/commitlint.yml
T
Sébastien Han 2b47117fc7 bot: add commitlint gh action
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>
2020-05-28 12:12:57 +02:00

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