Update fetchdep to also take into account forks

This commit is contained in:
Michael Telatynski
2022-04-27 22:50:28 +01:00
parent dab1488ffe
commit 0a239a30fa
5 changed files with 7 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ getPRInfo() {
if [ -n "$number" ]; then
echo "Getting info about a PR with number $number"
apiEndpoint="https://api.github.com/repos/matrix-org/matrix-react-sdk/pulls/"
apiEndpoint="https://api.github.com/repos/${REPOSITORY:-"vector-im/element-web"}/pulls/"
apiEndpoint+=$number
head=$(curl $apiEndpoint | jq -r '.head.label')