Skip to content

Commit

Permalink
Fix skip-ci on stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmygchen committed Jun 10, 2024
1 parent 947e2e8 commit a5c25fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- staging
- trying
- 'pr/*'
- fix-skip-ci
pull_request:
merge_group:

Expand Down Expand Up @@ -41,7 +42,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')
Expand All @@ -52,7 +53,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
Expand Down

0 comments on commit a5c25fc

Please sign in to comment.