From 573b60fea4d7d42c6f666bf2b5fc3fda52999a5b Mon Sep 17 00:00:00 2001 From: Janry Date: Fri, 21 May 2021 16:05:21 +0800 Subject: [PATCH] chore(actions): update commit checker action --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e56303c67b2..e344ac8e970 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" - build: + commitlint: # The type of runner that the job will run on runs-on: ubuntu-latest @@ -24,7 +24,6 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: Commit Linter - uses: wagoid/commitlint-github-action@v3 + with: + fetch-depth: 0= + - uses: wagoid/commitlint-github-action@v3