Skip to content

Commit 97229fb

Browse files
committed
dataconnect.yml: add -R ${{ github.repository }} to gh command line
1 parent 407983a commit 97229fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/dataconnect.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ jobs:
256256
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
257257
with:
258258
show-progress: false
259+
sparse-checkout: '.github/'
259260
- uses: docker://rhysd/actionlint:1.7.7
260261
with:
261262
args: -color /github/workspace/.github/workflows/dataconnect.yml
@@ -285,7 +286,7 @@ jobs:
285286
# (see https://github.com/firebase/firebase-android-sdk/issues/6863)
286287
pr_number=$(echo '${{ github.ref }}' | sed -En 's#^refs/pull/([0-9]+)/merge$#\1#p')
287288
if [[ -n $pr_number ]] ; then
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')
289+
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')
289290
fi
290291
291292
if [[ -v $issue_from_pr_body ]] && [[ -n $issue_from_pr_body ]] ; then

0 commit comments

Comments
 (0)