mirror of
https://github.com/lnbook/lnbook
synced 2024-11-15 00:15:05 +00:00
9 lines
258 B
Bash
9 lines
258 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
curl -s https://api.github.com/repos/lnbook/lnbook/pulls | jq '.[]|.number' | while read pr; do
|
||
|
git fetch --quiet github refs/pull/$pr/head
|
||
|
if git show --pretty=format:'' --name-only FETCH_HEAD | grep -q $1; then
|
||
|
echo "PR $pr"
|
||
|
fi
|
||
|
done
|