Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fail the ci if the status is not success (#9166)
ecmadao07336eac5878
diff --git a/backend/plugin/vcs/github/bytebase-sql-review.yml b/backend/plugin/vcs/github/bytebase-sql-review.ymlindex 7533e3afbf..e0d697477f 100644--- a/backend/plugin/vcs/github/bytebase-sql-review.yml+++ b/backend/plugin/vcs/github/bytebase-sql-review.yml@@ -39,4 +39,4 @@ jobs:echo $messagedone <<< "$(echo $content | jq -r '.[]')"- if [ "$status" == "ERROR" ]; then exit 1; fi+ if [ "$status" != "SUCCESS" ]; then exit 1; fidiff --git a/backend/plugin/vcs/gitlab/bytebase-sql-review.yml b/backend/plugin/vcs/gitlab/bytebase-sql-review.ymlindex 5a2ba00c4b..4fc3549ecc 100644--- a/backend/plugin/vcs/gitlab/bytebase-sql-review.yml+++ b/backend/plugin/vcs/gitlab/bytebase-sql-review.yml@@ -19,7 +19,7 @@ bytebase-sql-review:- msg=$(echo "$content" | jq -r '.[0]')- echo $msg >> bytebase-sql-review.xml- status=$(echo "$response" | jq -r '.status')- - if [ "$status" == "ERROR" ]; then exit 1; fi+ - if [ "$status" != "SUCCESS" ]; then exit 1; fiartifacts:when: alwaysreports: