forked from Mirror/frr
tools: Do not run commit linter for other branches than master
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
e618cc7b21
commit
754a054059
5
.github/workflows/commitlint.yml
vendored
5
.github/workflows/commitlint.yml
vendored
|
@ -10,8 +10,9 @@ on:
|
|||
- unlabeled
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
if: github.repository == 'frrouting/frr'
|
||||
commitlint:
|
||||
if: github.repository == 'frrouting/frr' && github.base_ref == 'refs/heads/master'
|
||||
name: Check if the commits meet the requirements of the guidelines
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
|
|
Loading…
Reference in a new issue