Make blocked/stacked pr detection more flexible with capitalization (#4557)
This commit is contained in:
4
.github/workflows/blocked-prs.yml
vendored
4
.github/workflows/blocked-prs.yml
vendored
@@ -80,7 +80,7 @@ jobs:
|
|||||||
| (
|
| (
|
||||||
$body |
|
$body |
|
||||||
reduce (
|
reduce (
|
||||||
. | scan("blocked (?:by|on):? #([0-9]+)")
|
. | scan("[Bb]locked (?:[Bb]y|[Oo]n):? #([0-9]+)")
|
||||||
| map({
|
| map({
|
||||||
"type": "Blocked on",
|
"type": "Blocked on",
|
||||||
"number": ( . | tonumber )
|
"number": ( . | tonumber )
|
||||||
@@ -90,7 +90,7 @@ jobs:
|
|||||||
| (
|
| (
|
||||||
$body |
|
$body |
|
||||||
reduce (
|
reduce (
|
||||||
. | scan("stacked on:? #([0-9]+)")
|
. | scan("[Ss]tacked [Oo]n:? #([0-9]+)")
|
||||||
| map({
|
| map({
|
||||||
"type": "Stacked on",
|
"type": "Stacked on",
|
||||||
"number": ( . | tonumber )
|
"number": ( . | tonumber )
|
||||||
|
|||||||
Reference in New Issue
Block a user