Merge pull request #18393 from Homebrew/sponsors-unbound-variable

This commit is contained in:
Carlo Cabrera 2024-09-24 19:36:13 +08:00 committed by GitHub
commit cee2287658
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ jobs:
COMMITTED=true COMMITTED=true
fi fi
if [[ -n "$COMMITTED" ]] if [[ -n "${COMMITTED-}" ]]
then then
echo "committed=true" >> "$GITHUB_OUTPUT" echo "committed=true" >> "$GITHUB_OUTPUT"
PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state")" PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state")"