ci: Don't cancel previous runs for tag pipelines
Those create annoying "cancelled" notifications which looks like CI on main was failing. It's not, though. By just disabling the cancel-in-progress setting, but keeping the group intact, this should queue multiple tag jobs / tag workflows behind each other and still avoids the underlying problem which occurs when running them in parallel.
This commit is contained in:
@@ -13,7 +13,8 @@ concurrency:
|
||||
# Terminate all previous runs of the same workflow for the same tag, but never
|
||||
# cancel for the main / release branch pipelines.
|
||||
group: ci-${{ (github.ref_type == 'tag' && github.ref) || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
# TODO: Enable this once https://github.com/orgs/community/discussions/13015 is solved
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
check:
|
||||
@@ -110,7 +111,8 @@ jobs:
|
||||
concurrency:
|
||||
# Never tag outdated commits on the main branch by skipping superseded commits
|
||||
group: ci-tag-${{ (github.ref == 'refs/heads/main' && github.ref) || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
# TODO: Enable this once https://github.com/orgs/community/discussions/13015 is solved
|
||||
cancel-in-progress: false
|
||||
if: |
|
||||
vars.RELEASE_ENABLED &&
|
||||
startsWith(github.ref, 'refs/heads/') &&
|
||||
|
||||
Reference in New Issue
Block a user