27 lines
554 B
YAML
27 lines
554 B
YAML
name: Commitlint
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- master
|
|
- release-*
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-18.04
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: wagoid/commitlint-github-action@v2.0.3
|
|
with:
|
|
configFile: "./.commitlintrc.json"
|
|
helpURL: https://rook.io/docs/rook/latest/Contributing/development-flow/#commit-structure
|