Handle Minimal Theme issues

This commit is contained in:
Zep Fietje
2023-12-28 17:57:57 +01:00
parent d55d952518
commit 46ffe401ea
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -29,6 +29,13 @@ jobs:
const user = context.payload.sender.login
const issue = context.payload.issue
const body = issue.body
if (body.includes('filament/minimal-theme')) {
debug('Ignoring Minimal Theme issue.')
return
}
const urlMatch = body.match(URL_REGEXP)
const reproStepsMatch = body.match(REPRO_STEPS_REGEXP)
const url = urlMatch !== null ? urlMatch[1].trim() : null