mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Don't run pytest CI jobs on push to forks (#66870)
This commit is contained in:
parent
8e39ba387d
commit
728dfa2581
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -718,8 +718,10 @@ jobs:
|
||||
|
||||
pytest:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.inputs.lint-only != 'true' && (
|
||||
needs.changes.outputs.test_full_suite == 'true' || needs.changes.outputs.tests_glob)
|
||||
if: |
|
||||
(github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')
|
||||
&& github.event.inputs.lint-only != 'true'
|
||||
&& (needs.changes.outputs.test_full_suite == 'true' || needs.changes.outputs.tests_glob)
|
||||
needs:
|
||||
- changes
|
||||
- gen-requirements-all
|
||||
|
Loading…
x
Reference in New Issue
Block a user