diff --git a/.github/workflows/check_versioning_pr.yml b/.github/workflows/check_versioning_pr.yml index 224c00f9f..c45a405ec 100644 --- a/.github/workflows/check_versioning_pr.yml +++ b/.github/workflows/check_versioning_pr.yml @@ -31,11 +31,11 @@ jobs: const existingPR = pullRequests.find(pr => pr.title === 'chore(version): bump version and update changelog'); - echo -e "VERSIONING_PR_EXISTS=$existingPR" >> "$GITHUB_OUTPUT" - if (existingPR) { + core.setOutput("VERSIONING_PR_EXISTS", true); console.log("Version bump pull request exists. Please merge that pr first to pass the check.: #${existingPR.number}"); } else { + core.setOutput("VERSIONING_PR_EXISTS", false); console.log("No version bump pull request found."); }