Skip to content

Commit

Permalink
Try a different label method
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherwharrop-noaa committed Aug 14, 2024
1 parent c40387f commit 28483c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gpu_nvhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Linux NVHPC GPU
on:
pull_request:
branches: [ master ]
types: [ labeled ]
types: [ labeled, opened, synchronize, reopened ]
workflow_dispatch:

#defaults:
Expand All @@ -14,7 +14,7 @@ on:
jobs:

ubuntu_build:
#if: ${{ github.event.label.name == 'GPU-CI' }}
if: contains(github.event.pull_request.labels.*.name, 'GPU-CI')

name: Ubuntu NVHPC GPU Build
# Run on self-hosted
Expand Down

0 comments on commit 28483c1

Please sign in to comment.