diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index 88fb3f9d2..42ef8c9c3 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -21,9 +21,8 @@ on: permissions: contents: read concurrency: - group: ci-pipeline-${{ gitea.event_name }}-${{ gitea.ref }} - # PR事件取消进行中的旧run,push事件不取消(确保完整CI跑完) - cancel-in-progress: ${{ gitea.event_name == 'pull_request' }} + group: ci-pipeline-${{ gitea.ref }} + cancel-in-progress: true jobs: check-frontend-only: name: Check if frontend-only change