Skip to content

Commit 5807400

Browse files
authored
Remove debug check from fabric bot labeling automation (#47972)
Also adding the check for title text too
1 parent e54438a commit 5807400

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.github/fabricbot.json

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3685,17 +3685,23 @@
36853685
}
36863686
},
36873687
{
3688-
"name": "bodyContains",
3689-
"parameters": {
3690-
"bodyPattern": "[Aa][Oo][Tt]",
3691-
"isRegex": true
3692-
}
3693-
},
3694-
{
3695-
"name": "hasLabel",
3696-
"parameters": {
3697-
"label": "INTERNAL: Debug"
3698-
}
3688+
"operator": "or",
3689+
"operands": [
3690+
{
3691+
"name": "bodyContains",
3692+
"parameters": {
3693+
"bodyPattern": "[Aa][Oo][Tt]",
3694+
"isRegex": true
3695+
}
3696+
},
3697+
{
3698+
"name": "titleContains",
3699+
"parameters": {
3700+
"isRegex": true,
3701+
"titlePattern": "[Aa][Oo][Tt]"
3702+
}
3703+
}
3704+
]
36993705
}
37003706
]
37013707
},

0 commit comments

Comments
 (0)