Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(ci): prevent false failures from superseded runs (#40699)

yyh29a4897e7308
diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml
index 94f1081247d..36dd7e05fad 100644
--- a/.github/workflows/main-ci.yml
+++ b/.github/workflows/main-ci.yml
@@ -15,8 +15,10 @@ permissions:
statuses: write
concurrency:
- group: main-ci-${{ github.event.pull_request.number || github.event.merge_group.head_sha || github.run_id }}
- cancel-in-progress: true
+ # Pull request deduplication is owned by skip-duplicate-actions so pre_job can
+ # publish should_skip before required status finalizers run.
+ group: main-ci-${{ github.event.merge_group.head_sha || github.run_id }}
+ cancel-in-progress: ${{ github.event_name == 'merge_group' }}
jobs:
pre_job: