Fix pr-find-issues script (#25252)
This commit is contained in:
parent
02857a065d
commit
10bcd896a9
1 changed files with 1 additions and 1 deletions
2
.github/scripts/pr-find-issues.sh
vendored
2
.github/scripts/pr-find-issues.sh
vendored
|
@ -8,7 +8,7 @@ if [ "$REPO" == "" ]; then
|
|||
fi
|
||||
|
||||
function parse_issues() {
|
||||
echo "$1" | grep -i -P -o "(close|closes|closed|resolve|resolves|resolved) https://github.com/$REPO/issues/[[:digit:]]*" | cut -d '/' -f 7 | sort -n
|
||||
echo "$1" | grep -i -P -o "(close|closes|closed|resolve|resolves|resolved) #[[:digit:]]*" | cut -d '#' -f 2 | sort -n
|
||||
}
|
||||
|
||||
PR_JSON=$(gh api "/repos/$REPO/pulls/$PR")
|
||||
|
|
Loading…
Reference in a new issue