diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 462f403d..d3c1ee78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,10 @@ on: pull_request: {} workflow_dispatch: +concurrency: + group: test-${{ github.ref }} + cancel-in-progress: true + jobs: check-manifest: name: Check Manifest diff --git a/.github/workflows/test_all_plugins.yml b/.github/workflows/test_all_plugins.yml index 5e86267f..0d897864 100644 --- a/.github/workflows/test_all_plugins.yml +++ b/.github/workflows/test_all_plugins.yml @@ -5,14 +5,15 @@ on: types: [ labeled ] workflow_dispatch: +concurrency: + group: test-plugins-${{ github.ref }} + cancel-in-progress: true + jobs: get-plugins: if: github.event.label.name == 'test-all-plugins' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: - - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - id: plugin_names run: echo "::set-output name=plugins::$(curl -s https://api.napari-hub.org/plugins | jq -c 'keys')" outputs: diff --git a/.github/workflows/test_conversion.yml b/.github/workflows/test_conversion.yml index fb8f59f2..b58c1808 100644 --- a/.github/workflows/test_conversion.yml +++ b/.github/workflows/test_conversion.yml @@ -5,13 +5,14 @@ on: # pull_request: workflow_dispatch: +concurrency: + group: convert-${{ github.ref }} + cancel-in-progress: true + jobs: get-plugins: runs-on: ubuntu-latest steps: - - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - id: plugin_names run: echo "::set-output name=plugins::$(curl -s https://api.napari-hub.org/plugins | jq -c 'keys')" outputs: