Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only run one CI per branch. #2701

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Only run one CI per branch. #2701

merged 1 commit into from
Jan 31, 2025

Conversation

floitsch
Copy link
Member

On the master, the current workflow is allowed to finish, but intermediate runs might be skipped.
On branches, the latest push cancels existing runs.

@floitsch floitsch requested a review from kasperl January 30, 2025 13:37
@cla-bot cla-bot bot added the cla-signed The contributors have signed the CLA label Jan 30, 2025
On the master, all workflows are allowed to finish, but if a
workflow is already running, then the next one waits until the first one
is finished. If there is yet another commit, then the second one is
skipped.

On branches, the latest push cancels existing runs.
@floitsch floitsch force-pushed the floitsch/concurrent-ci branch from cd5c4c0 to 322a206 Compare January 30, 2025 13:38
Copy link
Member

@kasperl kasperl left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@floitsch floitsch merged commit cd38e5e into master Jan 31, 2025
11 of 29 checks passed
@floitsch floitsch deleted the floitsch/concurrent-ci branch January 31, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The contributors have signed the CLA
Development

Successfully merging this pull request may close these issues.

2 participants