From 3acd408889cb482e7cc10532b419eadb4d652f2f Mon Sep 17 00:00:00 2001 From: willGraham01 <1willgraham@gmail.com> Date: Wed, 27 Mar 2024 09:56:52 +0000 Subject: [PATCH] Nearly there! Make the comparison a string comparison to evaluate properly --- .github/workflows/fetch_sha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fetch_sha.yml b/.github/workflows/fetch_sha.yml index 0630578..5a66802 100644 --- a/.github/workflows/fetch_sha.yml +++ b/.github/workflows/fetch_sha.yml @@ -40,7 +40,7 @@ jobs: with: result-encoding: string script: | - if (${{ needs.check-if-pr-comment.outputs.is-pr-comment }} == "true") { + if ("${{ needs.check-if-pr-comment.outputs.is-pr-comment }}" === "true") { const { data: pr } = await github.rest.pulls.get({ owner: context.issue.owner, repo: context.issue.repo,