From 40bcafcef69cd8f1460c88da3f5ec9550e104df7 Mon Sep 17 00:00:00 2001 From: Elias Segundo Antonio Date: Fri, 9 Sep 2022 11:39:47 -0500 Subject: [PATCH] Updated cancel Workflow (#166) Co-authored-by: Elias Segundo --- .github/workflows/cancel.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml index 0a182fd4f5b5..8fb282626490 100644 --- a/.github/workflows/cancel.yml +++ b/.github/workflows/cancel.yml @@ -16,7 +16,6 @@ # under the License. name: Cancel - on: workflow_run: workflows: @@ -24,11 +23,10 @@ on: - "Java Tests" - "Python tests" types: ['requested'] - jobs: cancel-duplicate-workflow-runs: name: "Cancel duplicate workflow runs" - runs-on: ubuntu-latest + runs-on: [self-hosted, ubuntu-20.04] steps: - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" uses: actions/checkout@v3