Make blocked/stacked pr detection more flexible with capitalization

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2025-12-22 02:51:58 -07:00 committed by GitHub
parent ee21ad836f
commit 586364e3b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ jobs:
| (
$body |
reduce (
. | scan("blocked (?:by|on):? #([0-9]+)")
. | scan("[Bb]locked (?:[Bb]y|[Oo]n):? #([0-9]+)")
| map({
"type": "Blocked on",
"number": ( . | tonumber )
@ -90,7 +90,7 @@ jobs:
| (
$body |
reduce (
. | scan("stacked on:? #([0-9]+)")
. | scan("[Ss]tacked [Oo]n:? #([0-9]+)")
| map({
"type": "Stacked on",
"number": ( . | tonumber )