From d782800e27eba49b5b6465e3b2d55882f2344541 Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe Date: Thu, 20 Oct 2022 18:36:46 -0600 Subject: [PATCH] Cancel Redundant CI jobs --- .github/workflows/main.yaml | 4 ++++ .github/workflows/tutorials.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7e640e7e..649d3d53 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,6 +10,10 @@ on: paths-ignore: - 'docs/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: PYTEST_ADDOPTS: "--color=yes" diff --git a/.github/workflows/tutorials.yaml b/.github/workflows/tutorials.yaml index 5c2903ff..d8a16b7e 100644 --- a/.github/workflows/tutorials.yaml +++ b/.github/workflows/tutorials.yaml @@ -11,6 +11,10 @@ env: PYTEST_ADDOPTS: "--color=yes" python-version: "3.9" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test-tutuorials: name: 📓 Build Tutorial Notebook