Skip to content

Preview PR improvements #133

Preview PR improvements

Preview PR improvements #133

name: "Preview on auspice.us"
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 auspice.us')) ||
(github.event.action == 'labeled' && github.event.label.name == 'preview on auspice.us')
uses: ./.github/workflows/preview_on_downstream_repo.yaml

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

View workflow run for this annotation

GitHub Actions / Preview on auspice.us

Invalid workflow file

The workflow is not valid. In .github/workflows/preview_on_auspice_us.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/auspice.us
cleanup: github.event.action == 'closed'