From 45d79f717250cdc42289da678c6b37a6e4f090ba Mon Sep 17 00:00:00 2001 From: Der_Googler <54764558+DerGoogler@users.noreply.github.com> Date: Sun, 17 Nov 2024 16:11:09 +0100 Subject: [PATCH] Update Submission Check RegEx --- .github/workflows/submission-checker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/submission-checker.yml b/.github/workflows/submission-checker.yml index 667740e..b911f54 100644 --- a/.github/workflows/submission-checker.yml +++ b/.github/workflows/submission-checker.yml @@ -10,7 +10,7 @@ jobs: - name: Validate issue title id: validate-title run: | - if [[ ! "${{ github.event.issue.title }}" =~ ^(\[[mM]odule\][[:space:]]*([a-zA-Z][a-zA-Z0-9._-]+)|\[[tT]akedown\][[:space:]]*(.+))$ ]]; then + if [[ ! "${{ github.event.issue.title }}" =~ ^\[([mM]odule|[tT]akedown)\][[:space:]]*([a-zA-Z][a-zA-Z0-9._-]+)$ ]]; then echo "valid=false" >> $GITHUB_ENV else echo "valid=true" >> $GITHUB_ENV