diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 258339a6..b69ae9a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_and_commit: if: ${{ !contains(github.event.head_commit.message, '[no deploy]') }} @@ -44,8 +48,8 @@ jobs: uses: EndBug/add-and-commit@v9.1.3 with: cwd: docs - commit: '--amend' - push: '--force' + commit: "--amend" + push: "--force" default_author: github_actions message: "[bot] Build gitee pages"