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:
parent
3559d7d304
commit
beb4b9b431
2 changed files with 12 additions and 0 deletions
3
.commitlintrc.yml
Normal file
3
.commitlintrc.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
extends:
|
||||
- '@commitlint/config-conventional'
|
||||
9
.github/workflows/commitlint.yml
vendored
9
.github/workflows/commitlint.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue