From 5ec189be5d96ac232e3357f57920fb2b45505f41 Mon Sep 17 00:00:00 2001 From: James Foucar Date: Thu, 18 Jan 2024 13:57:46 -0700 Subject: [PATCH] Only do eamxx github actions when PR is labelled with EAMxx --- .github/workflows/gh-pages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 04415787a0bf..b66c957eda4d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -21,6 +21,10 @@ on: - components/eamxx/docs/** - components/eamxx/cime_config/namelist_defaults_scream.xml + label: + types: + - created + workflow_dispatch: concurrency: @@ -30,6 +34,7 @@ concurrency: jobs: eamxx-docs: + if: ${{ github.event.label.name == 'EAMxx' }} runs-on: ubuntu-latest steps: