Skip to content

Commit 4cef939

Browse files
committed
dataconnect.yml: fix [[ -v $issue_from_pr_body ]] to [[ -v issue_from_pr_body ]] (remove the $)
1 parent c92025e commit 4cef939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dataconnect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ jobs:
289289
issue_from_pr_body=$(gh issue view "$pr_number" --json body --jq '.body' -R ${{ github.repository }} | sed -En 's#(\s|^)trksmnkncd_notification_issue=([0-9]+)(\s|$)#\2#p')
290290
fi
291291
292-
if [[ -v $issue_from_pr_body ]] && [[ -n $issue_from_pr_body ]] ; then
292+
if [[ -v issue_from_pr_body ]] && [[ -n $issue_from_pr_body ]] ; then
293293
issue="$issue_from_pr_body"
294294
elif [[ '${{ github.event_name }}' == 'schedule' ]] ; then
295295
# See https://github.com/firebase/firebase-android-sdk/issues/6857

0 commit comments

Comments
 (0)