From 1a15fefb2708849ba3196ee617e654d4688899e2 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Sat, 30 Jul 2022 00:02:45 +0200 Subject: [PATCH] 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 --- .github/workflows/cancel-redundant-workflows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cancel-redundant-workflows.yml b/.github/workflows/cancel-redundant-workflows.yml index 45a7443..556317d 100644 --- a/.github/workflows/cancel-redundant-workflows.yml +++ b/.github/workflows/cancel-redundant-workflows.yml @@ -15,9 +15,9 @@ on: jobs: cancel-redundant-workflows: - runs-on: [self-hosted, Linux] + runs-on: ubuntu-latest steps: - - uses: styfle/cancel-workflow-action@0.9.1 + - uses: styfle/cancel-workflow-action@0.10.0 with: all_but_latest: true workflow_id: ${{ github.event.workflow.id }}