Skip to content

Commit

Permalink
设置 cancel-in-progress [no deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Feb 1, 2024
1 parent 408066c commit 0543850
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]') }}
Expand Down Expand Up @@ -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"

Expand Down

0 comments on commit 0543850

Please sign in to comment.