From 5eba479b05fbb2351ed651a099dfae2fa0d28e41 Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Sun, 16 Aug 2026 13:59:18 +0800 Subject: [PATCH] fix: expand filename glob patterns in audit.sh to catch all template variants --- scripts/audit.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/audit.sh b/scripts/audit.sh index 61b41ce..10f5079 100644 --- a/scripts/audit.sh +++ b/scripts/audit.sh @@ -84,9 +84,8 @@ check_any ".gitignore" "Copy a variant from $TPL/gitignore/" ".gitignore" echo "" bold "── GitHub Templates ──" check_any "Issue template: bug" "Copy $TPL/.github/ISSUE_TEMPLATE/bug_report.yml" \ - ".github/ISSUE_TEMPLATE/bug_report.yml" ".github/ISSUE_TEMPLATE/bug_report.md" + ".github/ISSUE_TEMPLATE/bug*" check_any "Issue template: feature" "Copy $TPL/.github/ISSUE_TEMPLATE/feature_request.yml" \ - ".github/ISSUE_TEMPLATE/feature_request.yml" ".github/ISSUE_TEMPLATE/feature_request.md" \ ".github/ISSUE_TEMPLATE/feature*" ".github/ISSUE_TEMPLATE/enhancement*" ".github/ISSUE_TEMPLATE/new_*" check_any "PR template" "Copy $TPL/.github/PULL_REQUEST_TEMPLATE.md" \ ".github/PULL_REQUEST_TEMPLATE.md" ".github/pull_request_template.md"