Add GitHub issues template to avoid unnecessary issue reports

This commit is contained in:
Lan Tian 2026-01-09 18:18:14 -08:00
parent 821b8b8a85
commit 4a1debc1a3
No known key found for this signature in database
GPG Key ID: 04E66B6B25A0862B

View File

@ -0,0 +1,46 @@
name: Build Failure Report
description: Report a kernel build failure (please read carefully before submitting)
title: '[Build Failure] '
labels: ['build-failure']
body:
- type: markdown
attributes:
value: |
## ⚠️ Before You Submit
Most kernel build failures are caused by CachyOS not updating patches for the latest kernel version.
If this is the case, the only option is to wait for the CachyOS team to update the patches.
Please consider using the `release` branch as it contains the last successful build:
```nix
{
inputs = {
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
}
}
```
- type: checkboxes
id: confirmation
attributes:
label: Please confirm the following before submitting an issue
description: |
Only submit an issue if the build has been failing for multiple consecutive days, or if it's failing on the `release` branch.
options:
- label: I understand that most build failures are caused by CachyOS not updating patches for the latest kernel version
required: true
- label: I understand that in most cases, the only option is to wait for the CachyOS team to update the patches
required: true
- label: The build has been failing for multiple consecutive days, OR it is failing on the `release` branch
required: true
- type: textarea
id: description
attributes:
label: Issue Description
description: Describe the build failure (kernel variant, duration, error summary, etc.)
validations:
required: true