From d75b49e2300e27b28347c724cf3da7b08f48ce4d Mon Sep 17 00:00:00 2001 From: bbhtt Date: Wed, 24 Dec 2025 18:34:59 +0530 Subject: [PATCH] pr-check: Drop redundant unset --- .github/workflows/pr-check.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 4b54333..47d9289 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -86,10 +86,8 @@ jobs: json=$(gh pr view "$PR_NUM" --json body,title -q '{body: .body, title: .title}') PR_BODY=$(echo "$json" | jq -r .body) PR_TITLE=$(echo "$json" | jq -r .title) - NORMALIZED_PR_BODY=$(printf "%s\n" "$PR_BODY" | tr -d '\r') - - unset PR_TITLE export PR_TITLE="$PR_TITLE" + NORMALIZED_PR_BODY=$(printf "%s\n" "$PR_BODY" | tr -d '\r') EXIT_CODE=$(curl -sSL "$SCRIPT_URL" | python3 | grep 'EXIT_CODE=' | cut -d= -f2) echo "EXIT_CODE is $EXIT_CODE"