From 1bcd1f15b1addf1cc6aef33f136eac46ed067af9 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Thu, 13 Jun 2024 12:38:31 +1000 Subject: [PATCH] Fix skip-ci on `stable` (#5909) * Fix skip-ci on `stable`. --- .github/workflows/test-suite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 3049c6374d..0840651bbc 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -41,7 +41,7 @@ jobs: LABELS: ${{ toJson(github.event.pull_request.labels) }} run: | SKIP_CI="false" - if [ -z "${LABELS}" ]; then + if [ -z "${LABELS}" ] || [ "${LABELS}" = "null" ]; then LABELS="none"; else LABELS=$(echo ${LABELS} | jq -r '.[].name') @@ -52,7 +52,7 @@ jobs: break fi done - echo "::set-output name=skip_ci::$SKIP_CI" + echo "skip_ci=$SKIP_CI" >> $GITHUB_OUTPUT target-branch-check: name: target-branch-check