forked from rook/rook
Github just switched to use Ubuntu 20.04 for the ubuntu-latest and it is breaking some of our scenarios so far. Especially scenario creating partitions. Closes: https://github.com/rook/rook/issues/7327 Signed-off-by: Sébastien Han <seb@redhat.com>
17 lines
427 B
YAML
17 lines
427 B
YAML
name: Commitlint
|
|
on: [push, pull_request]
|
|
|
|
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@v1.6.0
|
|
with:
|
|
configFile: './.commitlintrc.json'
|
|
helpURL: https://rook.io/docs/rook/master/development-flow.html#commit-structure
|