From 0d88adbd92ed59e1e47bdcfecc54af48793dd875 Mon Sep 17 00:00:00 2001 From: koushiro Date: Mon, 23 Feb 2026 01:13:55 +0800 Subject: [PATCH 1/2] chore: add some github templates --- .github/ISSUE_TEMPLATE/1-bug-report.yml | 55 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/2-feature-request.yml | 43 +++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/pull_request_template.md | 36 +++++++++++++ .github/workflows/bip0032.yml | 3 ++ .github/workflows/bip0039.yml | 3 ++ 6 files changed, 145 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1-bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/2-feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml new file mode 100644 index 0000000..2534c57 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -0,0 +1,55 @@ +name: Bug Report +description: File a bug report +title: "bug: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: "Thanks for taking the time to fill out this bug report!" + + - type: textarea + id: describe-bug + attributes: + label: Describe the bug + description: "A clear and concise description of what the bug is." + placeholder: "Describe the bug..." + validations: + required: true + + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to Reproduce + description: "Steps to reproduce the behavior:" + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: Expected Behavior + description: "A clear and concise description of what you expected to happen." + placeholder: "Explain what you expected to happen..." + validations: + required: true + + - type: textarea + id: additional-context + attributes: + label: Additional Context + description: "Add any other context about the problem here." + placeholder: "Additional details..." + validations: + required: false + + - type: markdown + attributes: + value: "Please make sure to include any relevant information such as screenshots, logs, or code snippets that may help in diagnosing the issue." + + - type: checkboxes + id: willing-to-submit-pr + attributes: + label: "Are you willing to submit a PR to fix this bug?" + description: "Let us know if you are willing to contribute a fix by submitting a Pull Request." + options: + - label: "Yes, I would like to submit a PR." diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml new file mode 100644 index 0000000..81d9d31 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature-request.yml @@ -0,0 +1,43 @@ +name: Feature Request +description: Suggest an idea for this project +title: "new feature: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: "Thanks for suggesting a new feature!" + + - type: textarea + id: feature-description + attributes: + label: Feature Description + description: "A detailed description of the feature you would like to see." + placeholder: "Describe the feature you'd like..." + validations: + required: true + + - type: textarea + id: problem-solution + attributes: + label: Problem and Solution + description: "Describe the problem that this feature would solve. Explain how you envision it working." + placeholder: "What problem does this feature solve? How do you envision it working?" + validations: + required: true + + - type: textarea + id: additional-context + attributes: + label: Additional Context + description: "Add any other context or screenshots about the feature request here." + placeholder: "Add any other context or screenshots about the feature request here." + validations: + required: false + + - type: checkboxes + id: willing-to-contribute + attributes: + label: "Are you willing to contribute to the development of this feature?" + description: "Let us know if you are willing to help by contributing code or other resources." + options: + - label: "Yes, I am willing to contribute to the development of this feature." diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..5371f2b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Question + url: https://github.com/koushiro/rust-bips/discussions/new?category=q-a + about: Please ask questions about usage and development here. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..67221e9 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,36 @@ +# Which issue does this PR close? + + + +Closes #. + +# Rationale for this change + + + +# What changes are included in this PR? + + + +# Are there any user-facing changes? + + + + + +# AI usage statement + + diff --git a/.github/workflows/bip0032.yml b/.github/workflows/bip0032.yml index aa03882..4e197c1 100644 --- a/.github/workflows/bip0032.yml +++ b/.github/workflows/bip0032.yml @@ -4,6 +4,9 @@ on: push: branches: - main + paths: + - .github/workflows/bip0032.yml + - bip0032/** pull_request: paths: - .github/workflows/bip0032.yml diff --git a/.github/workflows/bip0039.yml b/.github/workflows/bip0039.yml index fc4d026..708f5c8 100644 --- a/.github/workflows/bip0039.yml +++ b/.github/workflows/bip0039.yml @@ -4,6 +4,9 @@ on: push: branches: - main + paths: + - .github/workflows/bip0039.yml + - bip0039/** pull_request: paths: - .github/workflows/bip0039.yml From d5283457a7af6111c685bb0683c819c87c9567e4 Mon Sep 17 00:00:00 2001 From: koushiro Date: Mon, 23 Feb 2026 01:20:15 +0800 Subject: [PATCH 2/2] revert some changes --- .github/workflows/bip0032.yml | 3 --- .github/workflows/bip0039.yml | 3 --- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/bip0032.yml b/.github/workflows/bip0032.yml index 4e197c1..aa03882 100644 --- a/.github/workflows/bip0032.yml +++ b/.github/workflows/bip0032.yml @@ -4,9 +4,6 @@ on: push: branches: - main - paths: - - .github/workflows/bip0032.yml - - bip0032/** pull_request: paths: - .github/workflows/bip0032.yml diff --git a/.github/workflows/bip0039.yml b/.github/workflows/bip0039.yml index 708f5c8..fc4d026 100644 --- a/.github/workflows/bip0039.yml +++ b/.github/workflows/bip0039.yml @@ -4,9 +4,6 @@ on: push: branches: - main - paths: - - .github/workflows/bip0039.yml - - bip0039/** pull_request: paths: - .github/workflows/bip0039.yml