From ae1b45c1dde110ca0e76e58c1e3353a49d8de95c Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Fri, 11 Sep 2026 10:37:17 -0700 Subject: [PATCH 1/2] CI: Avoid redundant post-merge runs Merge queue checks already validate the final combined change before it lands. Stop rerunning the main Python workflows after merge, and avoid running the repository lint suite a second time from the docs workflow. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/python-ci-docs.yml | 5 ----- .github/workflows/python-ci.yml | 3 --- .github/workflows/python-integration.yml | 3 --- 3 files changed, 11 deletions(-) diff --git a/.github/workflows/python-ci-docs.yml b/.github/workflows/python-ci-docs.yml index bbf718d132..f8713b5100 100644 --- a/.github/workflows/python-ci-docs.yml +++ b/.github/workflows/python-ci-docs.yml @@ -20,9 +20,6 @@ name: "Python CI Docs" on: - push: - branches: - - 'main' pull_request: merge_group: @@ -49,5 +46,3 @@ jobs: uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 - name: Build docs run: make docs-build - - name: Run linters - run: make lint diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 4d3cebbbe2..899e87bc1c 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -20,9 +20,6 @@ name: "Python CI" on: - push: - branches: - - 'main' pull_request: merge_group: diff --git a/.github/workflows/python-integration.yml b/.github/workflows/python-integration.yml index 55e52bbb20..124aca96d5 100644 --- a/.github/workflows/python-integration.yml +++ b/.github/workflows/python-integration.yml @@ -20,9 +20,6 @@ name: "Python Integration" on: - push: - branches: - - 'main' pull_request: merge_group: From 9d51b094e729c9d24f9e7e3b840bf04bfe2e565c Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Fri, 11 Sep 2026 10:50:05 -0700 Subject: [PATCH 2/2] CI: Remove remaining redundant main checks Markdown links, zizmor, and the ASF allowlist are already required for pull requests and merge groups. Avoid rerunning them after the validated change lands while retaining CodeQL's default-branch scan. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/asf-allowlist-check.yml | 3 --- .github/workflows/check-md-link.yml | 6 ------ .github/workflows/zizmor.yml | 2 -- 3 files changed, 11 deletions(-) diff --git a/.github/workflows/asf-allowlist-check.yml b/.github/workflows/asf-allowlist-check.yml index 89053c77ee..7fb2aaad71 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/check-md-link.yml b/.github/workflows/check-md-link.yml index 3e7bd88a11..1379444e7f 100644 --- a/.github/workflows/check-md-link.yml +++ b/.github/workflows/check-md-link.yml @@ -20,12 +20,6 @@ name: Check Markdown links on: - push: - paths: - - '.github/workflows/check-md-link.yml' - - 'mkdocs/**' - branches: - - 'main' pull_request: merge_group: workflow_dispatch: diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 6daaf43234..9b0147d598 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: branches: ["**"] merge_group: