From c6820097b63c95581094b5793e62e575c501148d Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Sun, 28 Sep 2025 12:28:22 -0700 Subject: [PATCH 1/2] feat: add GitHub issue templates --- .github/ISSUE_TEMPLATE/bug.md | 19 +++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature.md.md | 19 +++++++++++++++++++ .pre-commit-config.yaml | 2 ++ 4 files changed, 41 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.md.md diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md new file mode 100644 index 0000000..4ca9592 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,19 @@ +--- +name: Bug +about: Bug template +labels: bug +assignees: rcwbr + +--- + +## Expected behavior + + + +## Observed behavior + + + +## Proposed resolution + +(optional) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature.md.md b/.github/ISSUE_TEMPLATE/feature.md.md new file mode 100644 index 0000000..6d805b0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.md.md @@ -0,0 +1,19 @@ +--- +name: Feature +about: Feature template +labels: enhancement +assignees: rcwbr + +--- + +## What + + + +## Why + + + +## How + + diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d9851a3..014f551 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,7 @@ repos: rev: 0.7.17 hooks: - id: mdformat + exclude: '.github/ISSUE_TEMPLATE/.*\.md$' additional_dependencies: - mdformat-black - mdformat-config @@ -45,6 +46,7 @@ repos: - id: check-yaml - id: detect-private-key - id: end-of-file-fixer + exclude: '.github/ISSUE_TEMPLATE/.*\.md$' - id: forbid-submodules - id: mixed-line-ending - id: pretty-format-json From 73d5c246f7b18dc3223c9fe5251b422fe7a00b61 Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Sun, 28 Sep 2025 12:28:48 -0700 Subject: [PATCH 2/2] feat: add GitHub PR template --- .github/pull_request_template.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..35ff1d3 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,3 @@ +Closes #issue reference + +> Copy issue contents for reference