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.

refactor: remove duplicate pull_request triggers from workflow files (#24814)

-LAN-9ff6baaf52ad
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml
index 4b76f823757..4debc33229f 100644
--- a/.github/workflows/api-tests.yml
+++ b/.github/workflows/api-tests.yml
@@ -2,13 +2,6 @@ name: Run Pytest
on:
workflow_call:
- pull_request:
- branches:
- - main
- paths:
- - api/**
- - docker/**
- - .github/workflows/api-tests.yml
concurrency:
group: api-tests-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml
index 2c9cee21405..13023e53b5e 100644
--- a/.github/workflows/autofix.yml
+++ b/.github/workflows/autofix.yml
@@ -1,10 +1,6 @@
name: autofix.ci
on:
workflow_call:
- pull_request:
- branches: [ "main" ]
- push:
- branches: [ "main" ]
permissions:
contents: read
diff --git a/.github/workflows/db-migration-test.yml b/.github/workflows/db-migration-test.yml
index d39c91337c8..b9961a4714e 100644
--- a/.github/workflows/db-migration-test.yml
+++ b/.github/workflows/db-migration-test.yml
@@ -2,13 +2,6 @@ name: DB Migration Test
on:
workflow_call:
- pull_request:
- branches:
- - main
- - plugins/beta
- paths:
- - api/migrations/**
- - .github/workflows/db-migration-test.yml
concurrency:
group: db-migration-test-${{ github.ref }}
diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml
index 6bb5f95d97e..b73f1187cfd 100644
--- a/.github/workflows/main-ci.yml
+++ b/.github/workflows/main-ci.yml
@@ -3,6 +3,8 @@ name: Main CI Pipeline
on:
pull_request:
branches: [ "main" ]
+ push:
+ branches: [ "main" ]
permissions:
contents: write
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index dd5bb749467..7cd43d2a978 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -2,9 +2,6 @@ name: Style check
on:
workflow_call:
- pull_request:
- branches:
- - main
concurrency:
group: style-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/vdb-tests.yml b/.github/workflows/vdb-tests.yml
index b741df547ed..f54f5d6c648 100644
--- a/.github/workflows/vdb-tests.yml
+++ b/.github/workflows/vdb-tests.yml
@@ -2,15 +2,6 @@ name: Run VDB Tests
on:
workflow_call:
- pull_request:
- branches:
- - main
- paths:
- - api/core/rag/datasource/**
- - docker/**
- - .github/workflows/vdb-tests.yml
- - api/uv.lock
- - api/pyproject.toml
concurrency:
group: vdb-tests-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.yml
index 61f10d445dd..e25ae2302f0 100644
--- a/.github/workflows/web-tests.yml
+++ b/.github/workflows/web-tests.yml
@@ -2,11 +2,6 @@ name: Web Tests
on:
workflow_call:
- pull_request:
- branches:
- - main
- paths:
- - web/**
concurrency:
group: web-tests-${{ github.head_ref || github.run_id }}