diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 16d282bf8e..cfdb30ba38 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -89,7 +89,7 @@ body: - type: input id: reproduction attributes: - label: Reproduction repository + label: Reproduction repository (use demo for Minimal Theme issues) description: The URL of a public GitHub repository which reproduces the problem. **Please do not link to your actual project**, what we need instead is a _minimal_ reproduction in a fresh project without any unnecessary code. This means it doesn\'t matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. This allows us to fix the problem much quicker. **This issue will be automatically closed and not reviewed if this is missing. Please make sure to format the URL starting with `https://github.com` - only repositories hosted on GitHub are accepted.** [Need a headstart? We have a template Filament project for you.](https://filament-issue.unitedbycode.com/) validations: required: true diff --git a/.github/workflows/manage-issue.yml b/.github/workflows/manage-issue.yml index a84ba2595b..e572f67427 100644 --- a/.github/workflows/manage-issue.yml +++ b/.github/workflows/manage-issue.yml @@ -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