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

🔧 Add in-progress cancellation to CI workflows #108

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

burgholzer
Copy link
Member

Per default, GitHub keeps workflows running even if new commits are added to a pull request.
This is wasteful and requires lots of manual cancellations to free up available runners.
This PR adds the corresponding settings to cancel in-progress jobs whenever new commits become available by adding

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

snippets to all the workflow files.

Signed-off-by: burgholzer <burgholzer@me.com>
@burgholzer burgholzer added usability Anything related to usability continuous integration Anything related to the CI setup labels Sep 7, 2022
@burgholzer burgholzer self-assigned this Sep 7, 2022
@burgholzer burgholzer enabled auto-merge (squash) September 7, 2022 14:12
@codecov
Copy link

codecov bot commented Sep 7, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.1%. Comparing base (2bbf867) to head (d742158).
Report is 875 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #108   +/-   ##
=====================================
  Coverage   91.1%   91.1%           
=====================================
  Files         20      20           
  Lines       1726    1726           
  Branches     411     411           
=====================================
  Hits        1573    1573           
  Misses       153     153           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@burgholzer burgholzer merged commit 96a3f29 into main Sep 7, 2022
@burgholzer burgholzer deleted the in-progress-cancellation branch September 7, 2022 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous integration Anything related to the CI setup usability Anything related to usability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant