From 8286b8b31fcfe9822b5f6f7693e76547b1960d87 Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Tue, 5 Sep 2023 08:34:41 +0200 Subject: [PATCH] Status check should fail if "conditional" step fails (#22948) Closes #22947 --- .github/workflows/ci.yml | 1 + .github/workflows/codeql-analysis.yml | 1 + .github/workflows/documentation.yml | 1 + .github/workflows/guides.yml | 1 + .github/workflows/js-ci.yml | 1 + .github/workflows/operator-ci.yml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 094437d51c5..f57da639659 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -705,6 +705,7 @@ jobs: name: Status Check - Keycloak CI if: always() needs: + - conditional - unit-tests - base-integration-tests - quarkus-unit-tests diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6987ebf1b04..071c1d3a3ef 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -90,6 +90,7 @@ jobs: name: Status Check - CodeQL if: always() needs: + - conditional - java - themes runs-on: ubuntu-latest diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0f6988213e8..474cef710ef 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -102,6 +102,7 @@ jobs: name: Status Check - Keycloak Documentation if: always() needs: + - conditional - build runs-on: ubuntu-latest steps: diff --git a/.github/workflows/guides.yml b/.github/workflows/guides.yml index 3a70163d106..5f3ee172fd6 100644 --- a/.github/workflows/guides.yml +++ b/.github/workflows/guides.yml @@ -49,6 +49,7 @@ jobs: name: Status Check - Keycloak Guides if: always() needs: + - conditional - build runs-on: ubuntu-latest steps: diff --git a/.github/workflows/js-ci.yml b/.github/workflows/js-ci.yml index 972c002d53a..d494e5cdedb 100644 --- a/.github/workflows/js-ci.yml +++ b/.github/workflows/js-ci.yml @@ -330,6 +330,7 @@ jobs: name: Status Check - Keycloak JavaScript CI if: always() needs: + - conditional - admin-client - keycloak-js - keycloak-masthead diff --git a/.github/workflows/operator-ci.yml b/.github/workflows/operator-ci.yml index 98057d768f1..9cdf6210f2a 100644 --- a/.github/workflows/operator-ci.yml +++ b/.github/workflows/operator-ci.yml @@ -203,6 +203,7 @@ jobs: name: Status Check - Keycloak Operator CI if: always() needs: + - conditional - test-local - test-remote - test-olm