mirror of
https://github.com/zoriya/guessit.git
synced 2026-06-02 10:38:01 +00:00
ci(commitlint): add commitlint to github actions
This commit is contained in:
@@ -43,6 +43,15 @@ jobs:
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
|
||||
commitlint:
|
||||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: wagoid/commitlint-github-action@v2
|
||||
|
||||
release:
|
||||
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
|
||||
needs: build
|
||||
|
||||
Reference in New Issue
Block a user