From beb4b9b43173de13eb150ac7d17959bb80798fbf Mon Sep 17 00:00:00 2001 From: Wagner Santos Date: Tue, 8 Oct 2019 10:49:41 -0300 Subject: [PATCH] test: add second commitlint check using yml file instead of js --- .commitlintrc.yml | 3 +++ .github/workflows/commitlint.yml | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 .commitlintrc.yml diff --git a/.commitlintrc.yml b/.commitlintrc.yml new file mode 100644 index 0000000..7ed6a30 --- /dev/null +++ b/.commitlintrc.yml @@ -0,0 +1,3 @@ +--- +extends: + - '@commitlint/config-conventional' diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index ac35865..631cb69 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -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'