From 5d16d071d6e5cd1559db2b7a32cc87df3655cdf7 Mon Sep 17 00:00:00 2001 From: drew Date: Mon, 28 Jul 2025 14:55:27 +0400 Subject: [PATCH] feat: github repo configs --- .github/FUNDING.yml | 2 ++ .github/ISSUE_TEMPLATE/bug_report.md | 38 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 23 ++++++++++++++ .github/laberer-config.yml | 22 +++++++++++++ .github/worklflows/labeler.yml | 17 ++++++++++ 5 files changed, 102 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/laberer-config.yml create mode 100644 .github/worklflows/labeler.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000000000000000000000000000000000000..dca6bd8dbfcb9978640bec67bdccc3e90b50bc8c --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +patreon: andrinoff +ko_fi: andrinoff diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000000000000000000000000000000000..45f7dd271d422c9354969952a3d24b2f976fb253 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: "Bug Report" +about: "Create a report to help us improve" +title: "BUG: " +labels: "bug, needs-triage" +assignees: "" +--- + +### Describe the bug + +A clear and concise description of what the bug is. + +### To Reproduce + +Steps to reproduce the behavior: + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +### Expected behavior + +A clear and concise description of what you expected to happen. + +### Screenshots + +If applicable, add screenshots to help explain your problem. + +### Environment (please complete the following information): + +- **OS**: [e.g. macOS, Windows, Linux] +- **Terminal**: [e.g. iTerm2, Windows Terminal, Alacritty] +- **Go Version**: [e.g. 1.19] + +### Additional context + +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000000000000000000000000000000000..9271c77a5605d64abfcd1f7809b1cd8eaf06c65b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,23 @@ +--- +name: "Feature Request" +about: "Suggest an idea for this project" +title: "FEAT: " +labels: "enhancement, needs-triage" +assignees: "" +--- + +### Is your feature request related to a problem? + +A clear and concise description of what the problem is. Ex. "I'm always frustrated when..." + +### Describe the solution you'd like + +A clear and concise description of what you want to happen. + +### Describe alternatives you've considered + +A clear and concise description of any alternative solutions or features you've considered. + +### Additional context + +Add any other context or screenshots about the feature request here. diff --git a/.github/laberer-config.yml b/.github/laberer-config.yml new file mode 100644 index 0000000000000000000000000000000000000000..a7a0abe29cbd06e50dcf437667a37c8b8e2d09da --- /dev/null +++ b/.github/laberer-config.yml @@ -0,0 +1,22 @@ +"bug": + - '\bbug(s)?\b' + - '\berror(s)?\b' + - '\bfix(es)?\b' + - '\bissue(s)?\b' + - '\bproblem(s)?\b' + +"enhancement": + - '\benhancement(s)?\b' + - '\bfeature(s)?\b' + - '\bidea(s)?\b' + - '\bsuggestion(s)?\b' + +"documentation": + - '\bdocumentation\b' + - '\bdocs\b' + - '\breadme\b' + +"question": + - '\bquestion(s)?\b' + - '\bhelp\b' + - '\bhow to\b' diff --git a/.github/worklflows/labeler.yml b/.github/worklflows/labeler.yml new file mode 100644 index 0000000000000000000000000000000000000000..a5b8241c0fff1894c7df0cf8cfff45017990ec2c --- /dev/null +++ b/.github/worklflows/labeler.yml @@ -0,0 +1,17 @@ +name: Issue Labeler +on: + issues: + types: [opened, edited] + +jobs: + label_issues: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Label issues + uses: github/issue-labeler@v1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/labeler-config.yml + not-before: "2023-01-01T00:00:00Z" # Optional: only run on new issues