From 04d51aa8deee8d5c154dff077320873218e2bc8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Fri, 17 Feb 2023 22:49:22 +0100 Subject: [PATCH] Do not try to run DB jobs if there are no target groups (#88352) --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2018736cf3c..103d3ea967c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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