Add github repository files

This commit is contained in:
Steven Brown 2026-10-15 16:31:54 +13:00
commit 03233f5058
4 changed files with 94 additions and 0 deletions

36
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View file

@ -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

11
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -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.

12
.github/pull_request_template.md vendored Normal file
View file

@ -0,0 +1,12 @@
## What and why
<!-- Link the issue where a maintainer agreed this approach: Fixes #123 -->
## 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: <!-- Windows / Linux / macOS -->
- [ ] 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: <!-- none / some / substantial (please say which) -->

35
.github/workflows/first-interaction.yml vendored Normal file
View file

@ -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.