Fix quoting in "pytest" GitHub Actions workflow #2424
pytest.yaml
on: pull_request_target
check permissions
Code quality
Matrix: pytest
Waiting for pending jobs
Matrix: tutorials
Waiting for pending jobs
Annotations
1 error
Invalid workflow file:
.github/workflows/pytest.yaml#L26
The workflow is not valid. .github/workflows/pytest.yaml (Line: 26, Col: 11): Unexpected symbol: '"schedule"'. Located at position 27 within expression: !(
github.event_name == "schedule"
|| github.repository == github.event.pull_request.head.repo.full_name
|| contains(github.event.pull_request.labels.*.name, env.label)
)
|