mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 16:28:52 +00:00
pr-check: Drop redundant unset
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user