Skip to content

Avoid duplicate CI runs when starting a PR from upstream branch#2788

Merged
zcbenz merged 5 commits into
mainfrom
ci-fix-dup-runs
Nov 18, 2025
Merged

Avoid duplicate CI runs when starting a PR from upstream branch#2788
zcbenz merged 5 commits into
mainfrom
ci-fix-dup-runs

Conversation

@zcbenz

@zcbenz zcbenz commented Nov 17, 2025

Copy link
Copy Markdown
Collaborator

Also makes the check_lint runs faster.

@awni

awni commented Nov 18, 2025

Copy link
Copy Markdown
Member

It's kind of odd how it shows the skipped tests in this case. Maybe it would be cleaner to just restrict push to main?

@zcbenz

zcbenz commented Nov 18, 2025

Copy link
Copy Markdown
Collaborator Author

Yeah it does not look good, I have changed to test main branch only.

@awni

awni commented Nov 18, 2025

Copy link
Copy Markdown
Member

We could add a manual trigger like we have for the release workflow if you want to be able to run the CI on a ml-explore/mlx branch without making a PR.

@awni

awni commented Nov 18, 2025

Copy link
Copy Markdown
Member

Actually the way you have it also works well.

@awni awni 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, thanks!

@zcbenz
zcbenz merged commit a9f0d6b into main Nov 18, 2025
10 checks passed
@zcbenz
zcbenz deleted the ci-fix-dup-runs branch November 18, 2025 06:16
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.

2 participants