From 43d4e8111b2a06767323878033b5acd5154021d3 Mon Sep 17 00:00:00 2001 From: willGraham01 Date: Fri, 23 Jan 2026 11:53:16 +0000 Subject: [PATCH 1/7] hide schemas inside .github --- {schemas => .github/schemas}/github-issue-forms.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {schemas => .github/schemas}/github-issue-forms.json (100%) diff --git a/schemas/github-issue-forms.json b/.github/schemas/github-issue-forms.json similarity index 100% rename from schemas/github-issue-forms.json rename to .github/schemas/github-issue-forms.json From bff20be68827bfdcc595d3720c8631b97760fd5b Mon Sep 17 00:00:00 2001 From: willGraham01 Date: Fri, 23 Jan 2026 11:54:47 +0000 Subject: [PATCH 2/7] Revert "hide schemas inside .github" This reverts commit 43d4e8111b2a06767323878033b5acd5154021d3. --- {.github/schemas => schemas}/github-issue-forms.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {.github/schemas => schemas}/github-issue-forms.json (100%) diff --git a/.github/schemas/github-issue-forms.json b/schemas/github-issue-forms.json similarity index 100% rename from .github/schemas/github-issue-forms.json rename to schemas/github-issue-forms.json From fef0ecce4079e2a003641356e660215a34ced66c Mon Sep 17 00:00:00 2001 From: willGraham01 Date: Fri, 23 Jan 2026 11:55:49 +0000 Subject: [PATCH 3/7] Modify location of schemas in the cookie-cut repo that gets generated --- .../{ => .github}/schemas/github-issue-forms.json | 0 {{cookiecutter.project_slug}}/.pre-commit-config.yaml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {{cookiecutter.project_slug}}/{ => .github}/schemas/github-issue-forms.json (100%) diff --git a/{{cookiecutter.project_slug}}/schemas/github-issue-forms.json b/{{cookiecutter.project_slug}}/.github/schemas/github-issue-forms.json similarity index 100% rename from {{cookiecutter.project_slug}}/schemas/github-issue-forms.json rename to {{cookiecutter.project_slug}}/.github/schemas/github-issue-forms.json diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index fdbb2142..151605ee 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -48,4 +48,4 @@ repos: name: "Validate GitHub issue templates" files: ^\.github/ISSUE_TEMPLATE/.*\.yml$ exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$ - args: ["--verbose", "--schemafile", "schemas/github-issue-forms.json"] + args: ["--verbose", "--schemafile", ".github/schemas/github-issue-forms.json"] From 6947c3fc80919b3b03692079468ed8488e2fd5d8 Mon Sep 17 00:00:00 2001 From: willGraham01 Date: Fri, 23 Jan 2026 11:57:15 +0000 Subject: [PATCH 4/7] Mimic schema hiding changes in the test data --- .../{ => .github}/schemas/github-issue-forms.json | 0 tests/data/test_package_generation/.pre-commit-config.yaml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/data/test_package_generation/{ => .github}/schemas/github-issue-forms.json (100%) diff --git a/tests/data/test_package_generation/schemas/github-issue-forms.json b/tests/data/test_package_generation/.github/schemas/github-issue-forms.json similarity index 100% rename from tests/data/test_package_generation/schemas/github-issue-forms.json rename to tests/data/test_package_generation/.github/schemas/github-issue-forms.json diff --git a/tests/data/test_package_generation/.pre-commit-config.yaml b/tests/data/test_package_generation/.pre-commit-config.yaml index fdbb2142..151605ee 100644 --- a/tests/data/test_package_generation/.pre-commit-config.yaml +++ b/tests/data/test_package_generation/.pre-commit-config.yaml @@ -48,4 +48,4 @@ repos: name: "Validate GitHub issue templates" files: ^\.github/ISSUE_TEMPLATE/.*\.yml$ exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$ - args: ["--verbose", "--schemafile", "schemas/github-issue-forms.json"] + args: ["--verbose", "--schemafile", ".github/schemas/github-issue-forms.json"] From f234a5448f784554a37a2985c5c63ebda456d9e9 Mon Sep 17 00:00:00 2001 From: willGraham01 Date: Fri, 23 Jan 2026 11:59:57 +0000 Subject: [PATCH 5/7] Then do the same hiding but for THIS repo itself --- {schemas => .github/schemas}/github-issue-forms.json | 0 .pre-commit-config.yaml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {schemas => .github/schemas}/github-issue-forms.json (100%) diff --git a/schemas/github-issue-forms.json b/.github/schemas/github-issue-forms.json similarity index 100% rename from schemas/github-issue-forms.json rename to .github/schemas/github-issue-forms.json diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7bb13023..1353deda 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,4 +56,4 @@ repos: name: "Validate GitHub issue templates" files: ^\.github/ISSUE_TEMPLATE/.*\.yml$ exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$ - args: ["--verbose", "--schemafile", "schemas/github-issue-forms.json"] + args: ["--verbose", "--schemafile", ".github/schemas/github-issue-forms.json"] From 50e041f03d2ad76f6700cfa6e460c7335db30558 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 23 Jan 2026 12:06:48 +0000 Subject: [PATCH 6/7] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .pre-commit-config.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1353deda..7e47c1c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,4 +56,9 @@ repos: name: "Validate GitHub issue templates" files: ^\.github/ISSUE_TEMPLATE/.*\.yml$ exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$ - args: ["--verbose", "--schemafile", ".github/schemas/github-issue-forms.json"] + args: + [ + "--verbose", + "--schemafile", + ".github/schemas/github-issue-forms.json", + ] From 513f740b28a919ac99f1af75aea9601e00a72f24 Mon Sep 17 00:00:00 2001 From: willGraham01 Date: Fri, 23 Jan 2026 12:12:42 +0000 Subject: [PATCH 7/7] Prettier makes me angrier --- .pre-commit-config.yaml | 7 ++++++- tests/data/test_package_generation/.pre-commit-config.yaml | 7 ++++++- {{cookiecutter.project_slug}}/.pre-commit-config.yaml | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1353deda..7e47c1c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,4 +56,9 @@ repos: name: "Validate GitHub issue templates" files: ^\.github/ISSUE_TEMPLATE/.*\.yml$ exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$ - args: ["--verbose", "--schemafile", ".github/schemas/github-issue-forms.json"] + args: + [ + "--verbose", + "--schemafile", + ".github/schemas/github-issue-forms.json", + ] diff --git a/tests/data/test_package_generation/.pre-commit-config.yaml b/tests/data/test_package_generation/.pre-commit-config.yaml index 151605ee..79a040e1 100644 --- a/tests/data/test_package_generation/.pre-commit-config.yaml +++ b/tests/data/test_package_generation/.pre-commit-config.yaml @@ -48,4 +48,9 @@ repos: name: "Validate GitHub issue templates" files: ^\.github/ISSUE_TEMPLATE/.*\.yml$ exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$ - args: ["--verbose", "--schemafile", ".github/schemas/github-issue-forms.json"] + args: + [ + "--verbose", + "--schemafile", + ".github/schemas/github-issue-forms.json", + ] diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index 151605ee..79a040e1 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -48,4 +48,9 @@ repos: name: "Validate GitHub issue templates" files: ^\.github/ISSUE_TEMPLATE/.*\.yml$ exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$ - args: ["--verbose", "--schemafile", ".github/schemas/github-issue-forms.json"] + args: + [ + "--verbose", + "--schemafile", + ".github/schemas/github-issue-forms.json", + ]