File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -283,20 +283,18 @@ jobs:
283
283
# debugging/development purposes of the comment-posting logic itself.
284
284
# For example, issue number 6863 was specifically created for testing.
285
285
# (see https://github.com/firebase/firebase-android-sdk/issues/6863)
286
- readonly pr_number
287
286
pr_number=$(echo '${{ github.ref }}' | sed -En 's#^refs/pull/([0-9]+)/merge$#\1#p')
288
287
if [[ -n $pr_number ]] ; then
289
- readonly issue_from_pr_body
290
288
issue_from_pr_body=$(gh issue view "$pr_number" --json body --jq '.body' | sed -En 's#(\s|^)trksmnkncd_notification_issue=([0-9]+)(\s|$)#\2#p')
291
289
fi
292
290
293
291
if [[ -v $issue_from_pr_body ]] && [[ -n $issue_from_pr_body ]] ; then
294
- readonly issue="$issue_from_pr_body"
292
+ issue="$issue_from_pr_body"
295
293
elif [[ '${{ github.event_name }}' == 'schedule' ]] ; then
296
294
# See https://github.com/firebase/firebase-android-sdk/issues/6857
297
- readonly issue=6857
295
+ issue=6857
298
296
else
299
- readonly issue=
297
+ issue=
300
298
fi
301
299
302
300
echo "issue=$issue" >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments