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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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