You've already forked platform-info
mirror of
https://github.com/uutils/platform-info.git
synced 2026-06-10 15:48:45 -07:00
maint/CI ~ terminate outdated-but-executing workflows (for non-default branches)
This commit is contained in:
@@ -14,6 +14,13 @@ env:
|
||||
RUSTC_WRAPPER: 'sccache'
|
||||
SCCACHE_GHA_ENABLED: 'true'
|
||||
|
||||
# terminate execution of the current workflow group when there is a newer changeset detected
|
||||
# * the group is defined by "WORKFLOW_NAME-REF", where REF can be a branch, tag, or pull-request reference
|
||||
# * workflows executing for the default branch are excluded from termination
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||
|
||||
jobs:
|
||||
style_format:
|
||||
name: Style/format
|
||||
|
||||
Reference in New Issue
Block a user