diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..3a8df01 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,36 @@ +name: Bug report +description: Something in BRUTAL doesn't work as documented. +labels: [bug, needs-triage] +body: + - type: markdown + attributes: + value: "Questions belong on the [forums](https://forums.ahwoo.dev/forums/brutal/). Security issues: see SECURITY.md." + - type: input + id: packages + attributes: + label: Packages and versions + placeholder: Ahwoo.BRUTAL.Vulkan 2026.10.1, Ahwoo.BRUTAL.Memory 2026.10.1 + validations: + required: true + - type: input + id: env + attributes: + label: Environment + placeholder: .NET 10.0.x, Windows 11, RTX 4070 / driver 581.x + validations: + required: true + - type: textarea + id: repro + attributes: + label: Minimal repro + description: The smallest code that shows the problem. + render: csharp + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected vs actual + description: Include the full exception and stack trace if there is one. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..ebb876d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: Questions and help + url: https://forums.ahwoo.dev/forums/brutal/guides-and-help/ + about: "How do I…?" questions go here, not in issues. + - name: Discussion and ideas + url: https://forums.ahwoo.dev/forums/brutal/general/ + about: General discussion about building on BRUTAL. + - name: Report a security vulnerability + url: https://github.com/ahwootech/BRUTAL/security/advisories/new + about: Please report security issues privately. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..9565a13 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,12 @@ +## What and why + + + +## Checklist + +- [ ] Linked to an agreed issue (or it's a trivial doc/typo fix) +- [ ] Focused on one change; no unrelated refactors +- [ ] Built and tested on: +- [ ] No new dependencies (or they were agreed in the issue) +- [ ] Every commit is signed off (`git commit -s`, DCO), and I agree to section 5.0 (Contribution Grant) of the BRUTAL License +- [ ] AI assistance: diff --git a/.github/workflows/first-interaction.yml b/.github/workflows/first-interaction.yml new file mode 100644 index 0000000..83ff448 --- /dev/null +++ b/.github/workflows/first-interaction.yml @@ -0,0 +1,35 @@ +name: Greet first-time contributors + +on: + issues: + types: [opened] + pull_request_target: + types: [opened] + +permissions: + issues: write + pull-requests: write + +jobs: + greeting: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + Thanks for opening your first BRUTAL issue! šŸ‘‹ + + We're a small team, so please be patient with us. It may be a while before someone replies. To help us: + - **Questions and "how do I…?"** belong on the [BRUTAL forums](https://forums.ahwoo.dev/forums/brutal/). We may close and redirect them. + - **Bugs:** please make sure you've included package versions, OS/GPU, and a minimal repro. + - **Security issues:** please don't post them here. See [SECURITY.md](../blob/main/SECURITY.md). + pr-message: | + Thanks for your first pull request to BRUTAL! šŸ‘‹ + + Before we can review it: + - It should be linked to an issue where a maintainer has agreed the approach (tiny doc and typo fixes excepted). + - Every commit needs a DCO sign-off (`git commit -s`). By contributing you agree to section 5.0 of the BRUTAL License. + - If a substantial part is AI-generated, please say so. You need to understand and have tested every line. + + BRUTAL's scope is deliberately small, so we may decline changes that add engine-style features. Please read [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md). We're a small team and reviews may take a while, so thanks for your patience.