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

[ci] Cancel in-progress jobs for new pushes #79

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Nov 21, 2024

Pushes to the same branch/pr will cancel in-flight ValidatePullRequest jobs. The concurrency group will be something like Validate Pull Request-refs/pull/79/merge for pushes to a PR, and will guarantee only 1 inprogress "Validate Pull Request" job per pr.

@ludfjig ludfjig force-pushed the ci_concurrency branch 2 times, most recently from d26aa3b to 37c4638 Compare November 21, 2024 18:25
@ludfjig ludfjig marked this pull request as ready for review November 21, 2024 18:29
@ludfjig ludfjig changed the title Cancel in-progress jobs for new pushes [ci] Cancel in-progress jobs for new pushes Nov 21, 2024
Copy link
Contributor

@danbugs danbugs left a comment

Choose a reason for hiding this comment

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

Great stuff!

@ludfjig ludfjig merged commit 6d4c3a8 into hyperlight-dev:main Nov 22, 2024
23 checks passed
@ludfjig ludfjig deleted the ci_concurrency branch November 22, 2024 05:32
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