mirror of
https://github.com/keycloak/keycloak.git
synced 2026-02-12 18:29:41 -06:00
Fix pr-find-issues script (#25254)
This commit is contained in:
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")
|
||||
|
||||
Reference in New Issue
Block a user