Adapt script for different org
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
c2acfb5c31
commit
27fd150491
@ -26,8 +26,8 @@ gh_api() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pr_branches() {
|
pr_branches() {
|
||||||
gh_api "$api_repo/pulls" | jq -r '.[].head.label | select(test("^ipfs:"))' \
|
gh_api "$api_repo/pulls" | jq -r '.[].head.label | select(test("^'"$org"':"))' \
|
||||||
| sed 's/^ipfs://'
|
| sed 's/^'"$org"'://'
|
||||||
}
|
}
|
||||||
|
|
||||||
origin_refs() {
|
origin_refs() {
|
||||||
|
Loading…
Reference in New Issue
Block a user