stellar-etl-airflow icon indicating copy to clipboard operation
stellar-etl-airflow copied to clipboard

Set concurrency to cancel old workflow runs

Open amishas157 opened this issue 7 months ago • 0 comments

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 avatar Jul 26 '24 19:07 amishas157