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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: Support merge queue status checks in required CI workflows (#34133)
-LAN-e8657cc3de6c
diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.ymlindex be6186980eb..d8a53c9594a 100644--- a/.github/workflows/autofix.yml+++ b/.github/workflows/autofix.yml@@ -2,6 +2,9 @@ name: autofix.cion:pull_request:branches: ["main"]+ merge_group:+ branches: ["main"]+ types: [checks_requested]push:branches: ["main"]permissions:@@ -12,9 +15,15 @@ jobs:if: github.repository == 'langgenius/dify'runs-on: ubuntu-lateststeps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ - name: Complete merge group check+ if: github.event_name == 'merge_group'+ run: echo "autofix.ci updates pull request branches, not merge group refs."++ - if: github.event_name != 'merge_group'+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Check Docker Compose inputs+ if: github.event_name != 'merge_group'id: docker-compose-changesuses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5with:@@ -24,30 +33,34 @@ jobs:docker/docker-compose-template.yamldocker/docker-compose.yaml- name: Check web inputs+ if: github.event_name != 'merge_group'id: web-changesuses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5with:files: |web/**- name: Check api inputs+ if: github.event_name != 'merge_group'id: api-changesuses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5with:files: |api/**- - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0+ - if: github.event_name != 'merge_group'+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: "3.11"- - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0+ - if: github.event_name != 'merge_group'+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0- name: Generate Docker Compose- if: steps.docker-compose-changes.outputs.any_changed == 'true'+ if: github.event_name != 'merge_group' && steps.docker-compose-changes.outputs.any_changed == 'true'run: |cd docker./generate_docker_compose- - if: steps.api-changes.outputs.any_changed == 'true'+ - if: github.event_name != 'merge_group' && steps.api-changes.outputs.any_changed == 'true'run: |cd apiuv sync --dev@@ -59,13 +72,13 @@ jobs:uv run ruff format ..- name: count migration progress- if: steps.api-changes.outputs.any_changed == 'true'+ if: github.event_name != 'merge_group' && steps.api-changes.outputs.any_changed == 'true'run: |cd api./cnt_base.sh- name: ast-grep- if: steps.api-changes.outputs.any_changed == 'true'+ if: github.event_name != 'merge_group' && steps.api-changes.outputs.any_changed == 'true'run: |# ast-grep exits 1 if no matches are found; allow idempotent runs.uvx --from ast-grep-cli ast-grep --pattern 'db.session.query($WHATEVER).filter($HERE)' --rewrite 'db.session.query($WHATEVER).where($HERE)' -l py --update-all || true@@ -95,13 +108,14 @@ jobs:find . -name "*.py.bak" -type f -delete- name: Setup web environment- if: steps.web-changes.outputs.any_changed == 'true'+ if: github.event_name != 'merge_group' && steps.web-changes.outputs.any_changed == 'true'uses: ./.github/actions/setup-web- name: ESLint autofix- if: steps.web-changes.outputs.any_changed == 'true'+ if: github.event_name != 'merge_group' && steps.web-changes.outputs.any_changed == 'true'run: |cd webvp exec eslint --concurrency=2 --prune-suppressions --quiet || true- - uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8 # v1.3.3+ - if: github.event_name != 'merge_group'+ uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8 # v1.3.3diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.ymlindex 69023c24cc9..81e9e0fda75 100644--- a/.github/workflows/main-ci.yml+++ b/.github/workflows/main-ci.yml@@ -3,6 +3,9 @@ name: Main CI Pipelineon:pull_request:branches: ["main"]+ merge_group:+ branches: ["main"]+ types: [checks_requested]push:branches: ["main"]diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.ymlindex c21331ec0d0..49d2e946956 100644--- a/.github/workflows/semantic-pull-request.yml+++ b/.github/workflows/semantic-pull-request.yml@@ -7,6 +7,9 @@ on:- edited- reopened- synchronize+ merge_group:+ branches: ["main"]+ types: [checks_requested]jobs:lint:@@ -15,7 +18,11 @@ jobs:pull-requests: readruns-on: ubuntu-lateststeps:+ - name: Complete merge group check+ if: github.event_name == 'merge_group'+ run: echo "Semantic PR title validation is handled on pull requests."- name: Check title+ if: github.event_name == 'pull_request'uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}