From 83a1a87ef09bce5da5e6c8251b9678ce469cbb2c Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 2 May 2022 18:41:51 +0100 Subject: [PATCH] Only run napari hub preview on labelled PRs --- .github/workflows/napari_hub_preview.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/napari_hub_preview.yml b/.github/workflows/napari_hub_preview.yml index 4c70b9e1..416ceff5 100644 --- a/.github/workflows/napari_hub_preview.yml +++ b/.github/workflows/napari_hub_preview.yml @@ -3,11 +3,11 @@ name: napari hub Preview Page # we use this name to find your preview page artif on: pull_request: - branches: - - '**' + types: [ labeled ] jobs: preview-page: + if: ${{ github.event.label.name == 'napari hub preview' }} name: Preview Page Deploy runs-on: ubuntu-latest