From 859dea4b29033f3bb49c29b9951c9ca6a6dd94fc Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Fri, 11 Sep 2026 16:42:05 -0700 Subject: [PATCH] ci: avoid redundant post-merge runs Merge queue checks already validate the final combined change before it lands, so stop rerunning required workflows on main after merge. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/asf-allowlist-check.yml | 3 --- .github/workflows/bindings_python_ci.yml | 3 --- .github/workflows/ci.yml | 3 --- .github/workflows/public-api.yml | 3 --- .github/workflows/zizmor.yml | 2 -- 5 files changed, 14 deletions(-) diff --git a/.github/workflows/asf-allowlist-check.yml b/.github/workflows/asf-allowlist-check.yml index 446a247cd1..22fdb8f407 100644 --- a/.github/workflows/asf-allowlist-check.yml +++ b/.github/workflows/asf-allowlist-check.yml @@ -26,9 +26,6 @@ name: "ASF Allowlist Check" on: pull_request: merge_group: - push: - branches: - - main permissions: contents: read diff --git a/.github/workflows/bindings_python_ci.yml b/.github/workflows/bindings_python_ci.yml index 24ba728d62..f804510f05 100644 --- a/.github/workflows/bindings_python_ci.yml +++ b/.github/workflows/bindings_python_ci.yml @@ -18,9 +18,6 @@ name: Bindings Python CI on: - push: - branches: - - main pull_request: merge_group: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3de07ff70..ef36027fdc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,6 @@ name: CI on: - push: - branches: - - main pull_request: merge_group: diff --git a/.github/workflows/public-api.yml b/.github/workflows/public-api.yml index 3603247594..c99b365b91 100644 --- a/.github/workflows/public-api.yml +++ b/.github/workflows/public-api.yml @@ -18,9 +18,6 @@ name: Public API on: - push: - branches: - - main pull_request: merge_group: diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index bbc35f71f9..5574a9f95a 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -20,8 +20,6 @@ name: GitHub Actions Security Analysis with zizmor 🌈 on: - push: - branches: ["main"] pull_request: merge_group: