Skip to content

Commit

Permalink
Only do eamxx github actions when PR is labelled with EAMxx
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Jan 18, 2024
1 parent 423bc74 commit 5ec189b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
- components/eamxx/docs/**
- components/eamxx/cime_config/namelist_defaults_scream.xml

label:
types:
- created

workflow_dispatch:

concurrency:
Expand All @@ -30,6 +34,7 @@ concurrency:
jobs:

eamxx-docs:
if: ${{ github.event.label.name == 'EAMxx' }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 5ec189b

Please sign in to comment.