Skip to content

Commit

Permalink
Update Submission Check RegEx
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler authored Nov 17, 2024
1 parent 628befe commit 45d79f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/submission-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45d79f7

Please sign in to comment.