deploy: add watched prs to git after fetching
This commit is contained in:
parent
40fb017c00
commit
eca69f090c
@ -47,6 +47,7 @@ if [ "$1" = "watch" ]; then
|
||||
pr="$2"
|
||||
curl -s -o - https://pr-status.humpback-trout.ts.net/${pr} | jq -rS 'del(.queryTime)' >pull_requests/${pr}.json
|
||||
msg "Added watch for ${pr}: $(jq -r .title <pull_requests/${pr}.json)"
|
||||
git add pull_requests/${pr}.json
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user