mirror of
https://github.com/langgenius/dify.git
synced 2026-07-27 06:58:30 +08:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
name: Post-Merge Checks
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: post-merge-${{ github.sha }}
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
check-changes:
|
|
name: Check Changed Files
|
|
runs-on: depot-ubuntu-24.04
|
|
outputs:
|
|
external-e2e-changed: ${{ steps.changes.outputs.external_e2e }}
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
|
|
id: changes
|
|
with:
|
|
filters: |
|
|
external_e2e:
|
|
- 'e2e/features/agent-v2/**'
|
|
- 'e2e/scripts/**'
|
|
- 'e2e/support/**'
|
|
- '.github/workflows/post-merge.yml'
|
|
- '.github/workflows/web-e2e.yml'
|
|
- '.github/actions/setup-web/**'
|
|
- 'dify-agent/**'
|
|
- 'api/clients/agent_backend/**'
|
|
- 'api/core/app/apps/agent_app/**'
|
|
- 'api/core/workflow/nodes/agent_v2/**'
|
|
- 'api/controllers/console/agent/**'
|
|
- 'api/services/agent/**'
|
|
- 'api/core/plugin/**'
|
|
- 'api/services/plugin/**'
|
|
- 'api/core/tools/**'
|
|
- 'api/services/tools/**'
|
|
- 'web/features/agent-v2/**'
|
|
- 'web/app/(commonLayout)/roster/**'
|
|
- 'web/app/components/workflow/nodes/agent-v2/**'
|
|
|
|
external-e2e:
|
|
name: External Runtime E2E
|
|
needs: check-changes
|
|
if: needs.check-changes.outputs.external-e2e-changed == 'true'
|
|
uses: ./.github/workflows/web-e2e.yml
|
|
with:
|
|
run-external-runtime: true
|
|
secrets: inherit
|