mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +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:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: ./
|
- 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