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

cancel running ci workflows for pr branches #264

Merged
merged 2 commits into from
Mar 15, 2023
Merged

Conversation

ivansenic
Copy link
Contributor

What this PR does:
Cancel existing workflows for PR branches on update. Meaning once you push a new commit to a PR branch, we will cancel the workflow that might still be running. This ensures even more saving of minutes and cancelling runs of unnecessary CI.

Which issue(s) this PR fixes:
Port of stargate/stargate#2493

@ivansenic ivansenic requested a review from a team as a code owner March 15, 2023 11:41
@@ -35,6 +40,9 @@ jobs:
name: Unit tests
runs-on: ubuntu-latest

# max run time 5 minutes
timeout-minutes: 5
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added this as well.. sometimes jobs could hang and we want to avoid this..

@ivansenic ivansenic merged commit 01aa9ff into main Mar 15, 2023
@ivansenic ivansenic deleted the ise-concurrency-ci branch March 15, 2023 18:51
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