Skip to content

Preview PR improvements #132

Preview PR improvements

Preview PR improvements #132

name: "Preview on nextstrain.org"
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- closed
jobs:
run:
# Run if PR has the label and is updated or is newly labeled with the label
if: |
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'preview on nextstrain.org')) ||
(github.event.action == 'labeled' && github.event.label.name == 'preview on nextstrain.org')
uses: ./.github/workflows/preview_on_downstream_repo.yaml

Check failure on line 17 in .github/workflows/preview_on_nextstrain_org.yaml

View workflow run for this annotation

GitHub Actions / Preview on nextstrain.org

Invalid workflow file

The workflow is not valid. In .github/workflows/preview_on_nextstrain_org.yaml (Line: 17, Col: 11): Error from called workflow nextstrain/auspice/.github/workflows/preview_on_downstream_repo.yaml@1bb6917f5ff7bfaad70158d676371b19575cb67f: Unexpected tag '!inputs.cleanup'
secrets: inherit
with:
repository: nextstrain/nextstrain.org
directory: auspice-client
cleanup: github.event.action == 'closed'