CI: Avoid redundant post-merge runs - #3933
Merged
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
🟢 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
pushtriggers 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to #3832
The merge queue runs required checks against the latest
mainbefore merging. Running the same workflows again after the merge adds no coverage and uses extra CI minutes.Remove the
mainpush trigger from Python CI, integration tests, docs, markdown links, zizmor, and the ASF allowlist. They still run for bothpull_requestandmerge_group. Keep the CodeQL trigger because its default-branch scan feeds code-scanning results.Also remove
make lintfrom the docs workflow since Python CI already runs it.