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

Set concurrency to cancel old workflow runs #465

Merged
merged 4 commits into from
Aug 12, 2024

Conversation

amishas157
Copy link
Contributor

@amishas157 amishas157 commented Jul 26, 2024

PR Checklist

PR Structure

  • This PR has reasonably narrow scope (if not, break it down into smaller PRs).
  • This PR avoids mixing refactoring changes with feature changes (split into two PRs
    otherwise).
  • This PR's title starts with the jira ticket associated with the PR.

Thoroughness

  • This PR adds tests for the most critical parts of the new functionality or fixes.
  • I've updated the README with the added features, breaking changes, new instructions on how to use the repository.

What

Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow

This PR setups concurrency to cancel workflows runs from previous commits once new commit has been pushed

Why

To optimize workflow runs and save 💰

Known limitations

None

@amishas157 amishas157 requested a review from a team as a code owner July 26, 2024 19:15
@amishas157 amishas157 merged commit 244b29a into master Aug 12, 2024
2 checks passed
@sydneynotthecity sydneynotthecity deleted the set-workflow-concurrency branch November 21, 2024 03:45
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