Skip to content

CI: Avoid redundant post-merge runs - #3933

Merged
kevinjqliu merged 2 commits into
mainfrom
kevinjqliu-optimize-merge-queue-ci
Sep 11, 2026
Merged

CI: Avoid redundant post-merge runs#3933
kevinjqliu merged 2 commits into
mainfrom
kevinjqliu-optimize-merge-queue-ci

Conversation

@kevinjqliu

@kevinjqliu kevinjqliu commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Relates to #3832

The merge queue runs required checks against the latest main before merging. Running the same workflows again after the merge adds no coverage and uses extra CI minutes.

Remove the main push trigger from Python CI, integration tests, docs, markdown links, zizmor, and the ASF allowlist. They still run for both pull_request and merge_group. Keep the CodeQL trigger because its default-branch scan feeds code-scanning results.

Also remove make lint from the docs workflow since Python CI already runs it.

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>
Copilot AI lite review requested due to automatic review settings September 11, 2026 17:37
@kevinjqliu
kevinjqliu requested review from Fokko and geruh September 11, 2026 17:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved issues were identified, and required validation remains intact.

Pull request overview

Updates CI workflows to avoid redundant post-merge runs while retaining pull request and merge queue validation.

Changes:

  • Removed push triggers from Python, integration, and docs workflows.
  • Removed duplicate linting from the docs workflow.
File summaries
File Summary
.github/workflows/python-integration.yml Removes redundant post-merge integration runs.
.github/workflows/python-ci.yml Removes redundant post-merge Python CI runs.
.github/workflows/python-ci-docs.yml Removes redundant post-merge runs and duplicate linting.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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>

@geruh geruh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kevinjqliu
kevinjqliu added this pull request to the merge queue Sep 11, 2026
Merged via the queue into main with commit 7dc3a60 Sep 11, 2026
21 checks passed
@kevinjqliu
kevinjqliu deleted the kevinjqliu-optimize-merge-queue-ci branch September 11, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants