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.
@@ -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 }}
