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"