Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/humble-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ on:
push: *event

concurrency:
# cancel previous runs of the same workflow, except for pushes on given branches
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
binary:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/humble-debian-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
push: *event

concurrency:
# cancel previous runs of the same workflow, except for pushes on given branches
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
debian_binary_build:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/humble-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ on:
- humble
push: *event

concurrency:
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
pre-commit:
name: pre-commit
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/humble-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ on:
- synchronize # default
- labeled # also if a label changes

concurrency:
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
default:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-prerelease.yml@master
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/humble-rhel-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
push: *event

concurrency:
# cancel previous runs of the same workflow, except for pushes on given branches
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
rhel_binary_build:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/rolling-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ on:
push: *event

concurrency:
# cancel previous runs of the same workflow, except for pushes on given branches branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
binary:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/rolling-debian-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
push: *event

concurrency:
# cancel previous runs of the same workflow, except for pushes on given branches
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
debian_binary_build:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/rolling-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ on:
- main
push: *event

concurrency:
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
pre-commit:
name: pre-commit
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/rolling-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ on:
- synchronize # default
- labeled # also if a label changes

concurrency:
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
default:
strategy:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/rolling-rhel-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
push: *event

concurrency:
# cancel previous runs of the same workflow, except for pushes on given branches
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
rhel_binary_build:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/rolling-win-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ on:
push: *event

concurrency:
# cancel previous runs of the same workflow, except for pushes on given branches
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
# PR runs share a group per PR, so a new push cancels the superseded run.
# All other runs (push, schedule, manual) get a unique group: a group holds only one
# pending run, so sharing one would silently drop queued branch/scheduled runs.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
binary-windows:
Expand Down
Loading