mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-09-30 09:42:57 +00:00
ci: Run the cancel workflow on generic workers and update action
No need to bottleneck on the self hosted worker(s) when this is a light job that needs to run as soon as possible so that it can cancel early. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
This commit is contained in:
parent
260b3b97d0
commit
1a15fefb27
@ -15,9 +15,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cancel-redundant-workflows:
|
cancel-redundant-workflows:
|
||||||
runs-on: [self-hosted, Linux]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: styfle/cancel-workflow-action@0.9.1
|
- uses: styfle/cancel-workflow-action@0.10.0
|
||||||
with:
|
with:
|
||||||
all_but_latest: true
|
all_but_latest: true
|
||||||
workflow_id: ${{ github.event.workflow.id }}
|
workflow_id: ${{ github.event.workflow.id }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user