From 7274fbf6397206eb26d08d70ebd143ec569bd400 Mon Sep 17 00:00:00 2001 From: p0ny Date: Thu, 16 Jan 2025 16:14:20 +0800 Subject: [PATCH] use check-plan --- .github/workflows/bytebase-release-cicd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bytebase-release-cicd.yml b/.github/workflows/bytebase-release-cicd.yml index a0cc28c..47143f9 100644 --- a/.github/workflows/bytebase-release-cicd.yml +++ b/.github/workflows/bytebase-release-cicd.yml @@ -43,6 +43,8 @@ jobs: project: ${{ env.BYTEBASE_PROJECT }} release: ${{ steps.create_release.outputs.release }} targets: ${{ env.BYTEBASE_TARGETS }} + # fail the action if plan checks report error. + check-plan: FAIL_ON_ERROR - name: Wait rollout to finish id: wait_rollout uses: bytebase/actions-wait-rollout@main