From 5ed0a250a1719109e6887d6901acf2c29172c284 Mon Sep 17 00:00:00 2001 From: Caio Pizzol Date: Thu, 30 Apr 2026 19:07:58 -0300 Subject: [PATCH] chore(ci): drop merge_group trigger from optional workflows Only ci-superdoc.yml and ci-behavior.yml are required checks (per the require-ci ruleset). The other 11 workflows are optional and gate themselves by paths on pull_request, but workflow-level paths filters do not apply to merge_group events. Today this is harmless because merge queue is not enabled, but the moment it gets turned on every queue entry would fire all 11 of these regardless of changed paths, multiplying CI cost. Removing merge_group from each so they continue to gate on PR only. The required workflows (ci-superdoc, ci-behavior) keep merge_group since they need to validate the merge candidate. --- .github/workflows/ci-demos.yml | 1 - .github/workflows/ci-docs.yml | 1 - .github/workflows/ci-document-api.yml | 1 - .github/workflows/ci-esign.yml | 1 - .github/workflows/ci-examples.yml | 1 - .github/workflows/ci-mcp.yml | 1 - .github/workflows/ci-react.yml | 1 - .github/workflows/ci-sdk.yml | 1 - .github/workflows/ci-template-builder.yml | 1 - .github/workflows/ci-vscode-ext.yml | 1 - .github/workflows/visual-test.yml | 1 - 11 files changed, 11 deletions(-) diff --git a/.github/workflows/ci-demos.yml b/.github/workflows/ci-demos.yml index a25f18715c..d6e5138c04 100644 --- a/.github/workflows/ci-demos.yml +++ b/.github/workflows/ci-demos.yml @@ -10,7 +10,6 @@ on: - 'packages/layout-engine/**' - 'shared/**' - 'package.json' - merge_group: workflow_dispatch: jobs: diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml index 5dbd41bb03..cc676fba6d 100644 --- a/.github/workflows/ci-docs.yml +++ b/.github/workflows/ci-docs.yml @@ -10,7 +10,6 @@ on: - 'packages/document-api/scripts/**' - 'scripts/generate-all.mjs' - 'package.json' - merge_group: workflow_dispatch: jobs: diff --git a/.github/workflows/ci-document-api.yml b/.github/workflows/ci-document-api.yml index 538b2d9c49..67fe28849b 100644 --- a/.github/workflows/ci-document-api.yml +++ b/.github/workflows/ci-document-api.yml @@ -10,7 +10,6 @@ on: - 'apps/docs/document-api/**' - 'package.json' - '.github/workflows/ci-document-api.yml' - merge_group: workflow_dispatch: concurrency: diff --git a/.github/workflows/ci-esign.yml b/.github/workflows/ci-esign.yml index a12224c133..c6a400bb89 100644 --- a/.github/workflows/ci-esign.yml +++ b/.github/workflows/ci-esign.yml @@ -7,7 +7,6 @@ on: pull_request: paths: - 'packages/esign/**' - merge_group: workflow_dispatch: concurrency: diff --git a/.github/workflows/ci-examples.yml b/.github/workflows/ci-examples.yml index 98fd30ee48..bde758f346 100644 --- a/.github/workflows/ci-examples.yml +++ b/.github/workflows/ci-examples.yml @@ -11,7 +11,6 @@ on: - 'packages/sdk/**' - 'packages/layout-engine/**' - 'shared/**' - merge_group: workflow_dispatch: jobs: diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml index 6a25efcec8..5443dc82f3 100644 --- a/.github/workflows/ci-mcp.yml +++ b/.github/workflows/ci-mcp.yml @@ -7,7 +7,6 @@ on: pull_request: paths: - 'apps/mcp/**' - merge_group: workflow_dispatch: concurrency: diff --git a/.github/workflows/ci-react.yml b/.github/workflows/ci-react.yml index 31be40cb14..19dc952bd9 100644 --- a/.github/workflows/ci-react.yml +++ b/.github/workflows/ci-react.yml @@ -7,7 +7,6 @@ on: pull_request: paths: - 'packages/react/**' - merge_group: workflow_dispatch: concurrency: diff --git a/.github/workflows/ci-sdk.yml b/.github/workflows/ci-sdk.yml index f722f5f814..146e83af53 100644 --- a/.github/workflows/ci-sdk.yml +++ b/.github/workflows/ci-sdk.yml @@ -13,7 +13,6 @@ on: - 'scripts/generate-all.mjs' - 'package.json' - '.github/workflows/ci-sdk.yml' - merge_group: workflow_dispatch: concurrency: diff --git a/.github/workflows/ci-template-builder.yml b/.github/workflows/ci-template-builder.yml index 4ea5f0eb6c..837310b3d3 100644 --- a/.github/workflows/ci-template-builder.yml +++ b/.github/workflows/ci-template-builder.yml @@ -7,7 +7,6 @@ on: pull_request: paths: - 'packages/template-builder/**' - merge_group: workflow_dispatch: concurrency: diff --git a/.github/workflows/ci-vscode-ext.yml b/.github/workflows/ci-vscode-ext.yml index 9864e27fe4..678731bba6 100644 --- a/.github/workflows/ci-vscode-ext.yml +++ b/.github/workflows/ci-vscode-ext.yml @@ -8,7 +8,6 @@ on: paths: - 'apps/vscode-ext/**' - 'packages/superdoc/src/**' - merge_group: workflow_dispatch: concurrency: diff --git a/.github/workflows/visual-test.yml b/.github/workflows/visual-test.yml index 4c86af2b48..4ed8a5ebe9 100644 --- a/.github/workflows/visual-test.yml +++ b/.github/workflows/visual-test.yml @@ -16,7 +16,6 @@ on: - 'tests/visual/**' - 'shared/**' - '!**/*.md' - merge_group: workflow_dispatch: concurrency: