Update fetchdep to also take into account forks

This commit is contained in:
Michael Telatynski 2022-04-27 22:50:28 +01:00
parent a759b96a70
commit 4b4cee8ebb

View file

@ -29,7 +29,7 @@ getPRInfo() {
if [ -n "$number" ]; then if [ -n "$number" ]; then
echo "Getting info about a PR with number $number" 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-desktop"}/pulls/"
apiEndpoint+=$number apiEndpoint+=$number
head=$(curl $apiEndpoint | jq -r '.head.label') head=$(curl $apiEndpoint | jq -r '.head.label')