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'