Do not try to run DB jobs if there are no target groups (#88352)

This commit is contained in:
Joakim Sørensen
2023-02-17 22:49:22 +01:00
committed by GitHub
parent 6891eb7ed1
commit 04d51aa8de

View File

@@ -943,6 +943,7 @@ jobs:
&& github.event.inputs.lint-only != 'true' && github.event.inputs.lint-only != 'true'
&& github.event.inputs.pylint-only != 'true' && github.event.inputs.pylint-only != 'true'
&& github.event.inputs.mypy-only != 'true' && github.event.inputs.mypy-only != 'true'
&& needs.info.outputs.mariadb_groups != '[]'
needs: needs:
- info - info
- base - base
@@ -1046,6 +1047,7 @@ jobs:
&& github.event.inputs.lint-only != 'true' && github.event.inputs.lint-only != 'true'
&& github.event.inputs.pylint-only != 'true' && github.event.inputs.pylint-only != 'true'
&& github.event.inputs.mypy-only != 'true' && github.event.inputs.mypy-only != 'true'
&& needs.info.outputs.postgresql_groups != '[]'
needs: needs:
- info - info
- base - base