4 Commits

Author SHA1 Message Date
521b38c550 ci: issue templates, issue config
Some checks failed
CI / Check PR Title (pull_request) Failing after 15s
CI / Go Lint (pull_request) Successful in 31s
CI / Markdown Lint (pull_request) Successful in 17s
CI / Makefile Lint (pull_request) Successful in 31s
CI / Unit Tests (pull_request) Successful in 29s
CI / Fuzz Tests (pull_request) Successful in 1m0s
CI / Mutation Tests (pull_request) Successful in 1m4s
2026-03-29 22:19:46 +02:00
cbe4483326 revert: release.yml
- It is not needed, because this is a library. We are not shipping a binary.
2026-03-29 22:00:54 +02:00
3bb663dc8b ci: release workflow with 'go-releaser' 2026-03-29 21:49:59 +02:00
db2dfb466b ci: add 'check-pr-title' job to pipeline 2026-03-29 21:47:11 +02:00
4 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# yaml-language-server: $schema=https://www.schemastore.org/gitea-issue-forms.json
name: 🐛 Bug Report
about: Report a bug in this project
title: "[BUG]: "
body:
- type: textarea
id: context
attributes:
label: Context
description: What circumstances led to the bug?
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: What did you expect would happen?
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: Actual Behavior
description: What happened, and why was it unexpected?
validations:
required: true

View File

@@ -0,0 +1,45 @@
# 'Feature Request Template' By @cheehwatang
# https://github.com/cheehwatang/.github/blob/master/.github/ISSUE_TEMPLATE/feature_request.yml
#
# yaml-language-server: $schema=https://www.schemastore.org/gitea-issue-forms.json
name: ✨ Feature Request
about: Suggest an idea for this project
title: "[FEATURE]: "
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request! 🤗
Please make sure this feature request hasn't been already submitted by
someone by looking through other open/closed issues. 😃
- type: dropdown
attributes:
multiple: false
label: Type of Feature
description: Select the type of feature request.
options:
- "✨ New Feature"
- "📝 Documentation"
- "🎨 Style and UI"
- "🔨 Code Refactor"
- "⚡ Performance Improvements"
- "✅ New Test"
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: |
Give us a brief description of the feature or enhancement you would
like!
validations:
required: true
- type: textarea
id: additional-information
attributes:
label: Additional Information
description: |
Give us some additional information on the feature request like proposed
solutions, links, screenshots, etc.

View File

@@ -0,0 +1,2 @@
# yaml-language-server: $schema=https://www.schemastore.org/gitea-issue-config.json
blank_issues_enabled: true

View File

@@ -6,6 +6,17 @@ on:
pull_request: pull_request:
jobs: jobs:
check-pr-title:
name: Check PR Title
runs-on: ubuntu-latest
steps:
- run: |
TITLE="${{ gitea.event.pull_request.title }}"
if ! echo "$TITLE" | grep -qE '^(feat|fix|docs|chore|ci|test|refactor|perf|build|style|revert)(\(.+\))?(!)?: .+'; then
echo "::error::Pull Request title must follow conventional commits"
exit 1
fi
lint-go: lint-go:
name: Go Lint name: Go Lint
runs-on: ubuntu-latest runs-on: ubuntu-latest