Skip to content

Commit 4f70111

Browse files
committed
make sure both api reqs are on the right branch
1 parent fed9ecd commit 4f70111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-notes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
PULL_NUMBER: ${{steps.get-pull-request-number.outputs.PULL_REQUEST_NUMBER}}
2525
run: |
26-
FILES_RESPONSE=$(gh api /repos/flutter/devtools/pulls/$PULL_NUMBER/files)
26+
FILES_RESPONSE=$(gh api /repos/$GITHUB_REPOSITORY/pulls/$PULL_NUMBER/files)
2727
echo "FILES_RESPONSE: $FILES_RESPONSE"
2828
2929
HAS_CHANGED_RELEASE_NOTES=$(echo $FILES_RESPONSE | jq '.[].filename' | jq -s '. | any(. == env.CURRENT_RELEASE_JSON_FILE_PATH)')

0 commit comments

Comments
 (0)