forked from rook/rook
We now have a single file with all the integration test that will run when code is pushed to a release branch or merged in master. Also, we have separate files with integration tests that run on pull requests against master or a release branch. Signed-off-by: Sébastien Han <seb@redhat.com>
27 lines
545 B
YAML
27 lines
545 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@v1.6.0
|
|
with:
|
|
configFile: './.commitlintrc.json'
|
|
helpURL: https://rook.io/docs/rook/master/development-flow.html#commit-structure
|