From fdbdb663cb9795785faca606d9e5f52a1f012bdb Mon Sep 17 00:00:00 2001 From: y0sy4 Date: Sun, 22 Mar 2026 21:22:35 +0300 Subject: [PATCH] Add PR template and issue config --- .github/ISSUE_TEMPLATE/config.yml | 11 +++++ .github/pull_request_template.md | 75 +++++++++++++++++-------------- 2 files changed, 52 insertions(+), 34 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..6bc9bd9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: true +contact_links: + - name: ❓ Частые вопросы (FAQ) + url: https://github.com/y0sy4/tg-ws-proxy-go/blob/master/FAQ.md + about: Ответы на популярные вопросы + - name: 💬 Обсуждения + url: https://github.com/y0sy4/tg-ws-proxy-go/discussions + about: Задайте вопрос или поделитесь идеей + - name: 📖 Документация + url: https://github.com/y0sy4/tg-ws-proxy-go#readme + about: Полная документация проекта diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 295fabb..48ceb2e 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,34 +1,41 @@ -name: Pull Request -description: Submit a pull request -title: "[PR] " -labels: ["enhancement"] -body: - - type: markdown - attributes: - value: | - Thanks for contributing to TG WS Proxy Go! - - type: textarea - id: description - attributes: - label: Description - description: What does this PR do? - placeholder: This PR adds/fixes... - validations: - required: true - - type: textarea - id: testing - attributes: - label: Testing - description: How did you test this? - placeholder: I tested on Windows/Linux/macOS... - validations: - required: true - - type: checkboxes - id: checklist - attributes: - label: Checklist - options: - - label: I have tested this locally - required: true - - label: Code follows project guidelines - required: true + + +## Описание изменений + + +## Тип изменений + + +- [ ] 🐛 Исправление бага +- [ ] ✨ Новая функция +- [ ] 📝 Обновление документации +- [ ] ⚡ Улучшение производительности +- [ ] 🔒 Исправление безопасности +- [ ] 🎨 Рефакторинг кода +- [ ] 🧪 Добавление тестов +- [ ] Другое: _______ + +## Проверка + + +- [ ] Я протестировал изменения локально +- [ ] Код следует стилю проекта +- [ ] Я добавил комментарии к сложным участкам кода +- [ ] Я обновил документацию (если необходимо) +- [ ] Я проверил, что нет конфликтов слияния + +## Тестирование + + +**ОС:** Windows / macOS / Linux + +**Шаги для тестирования:** +1. +2. +3. + +## Скриншоты (если применимо) + + +## Дополнительные заметки +