Skip to content

Commit 6a7ce48

Browse files
Copilotd-morrison
andauthored
fix(preview): rerun workflow only for relevant label events
Agent-Logs-Url: https://github.com/UCD-SERG/qwt/sessions/238dabae-dc52-4ab8-a965-309d223855c8 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
1 parent 8751752 commit 6a7ce48

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212

1313
jobs:
1414
build-deploy:
15+
if: |
16+
(github.event.action != 'labeled' && github.event.action != 'unlabeled') ||
17+
contains(fromJson('["revealjs","pdf","docx","no-preview-highlights"]'), github.event.label.name)
1518
runs-on: ubuntu-latest
1619
permissions:
1720
contents: write

0 commit comments

Comments
 (0)