From d07c5e080450d9dc2c4e146dfdda37bde9ed79a5 Mon Sep 17 00:00:00 2001 From: Steve Riesenberg Date: Mon, 16 May 2022 12:25:24 -0500 Subject: [PATCH] Add quotes to boolean conditional checks Issue gh-11158 --- .github/workflows/release-next-version.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-next-version.yml b/.github/workflows/release-next-version.yml index 19bc0a4d89..10a52a52a2 100644 --- a/.github/workflows/release-next-version.yml +++ b/.github/workflows/release-next-version.yml @@ -45,7 +45,7 @@ jobs: echo "::set-output name=is_due_today::$(cat build/github/milestones/is-due-today)" - id: check-open-issues name: Check for open issues - if: steps.check-release-due.outputs.is_due_today == true + if: steps.check-release-due.outputs.is_due_today == 'true' run: | export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER" export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD" @@ -54,13 +54,13 @@ jobs: echo "::set-output name=is_open_issues::$(cat build/github/milestones/is-open-issues)" - id: validate-release-state name: Validate State of Release - if: steps.check-release-due.outputs.is_due_today == true && steps.check-release-due.outputs.is_open_issues == true + if: steps.check-release-due.outputs.is_due_today == 'true' && steps.check-release-due.outputs.is_open_issues == 'true' run: | echo "The release is due today but there are open issues" exit 1 - id: update-version-and-push name: Update version and push - if: steps.check-release-due.outputs.is_due_today == true && steps.check-release-due.outputs.is_open_issues == false + if: steps.check-release-due.outputs.is_due_today == 'true' && steps.check-release-due.outputs.is_open_issues == 'false' run: | export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER" export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"