5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +00:00

test: add second commitlint check using yml file instead of js

This commit is contained in:
Wagner Santos 2019-10-08 10:49:41 -03:00
parent 949b69503c
commit 765505e887
2 changed files with 12 additions and 0 deletions

3
.commitlintrc.yml Normal file
View file

@ -0,0 +1,3 @@
---
extends:
- '@commitlint/config-conventional'

View file

@ -9,3 +9,12 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: ./
commitlint-with-yml-file:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v1
- uses: ./
with:
configFile: './.commitlintrc.yml'