From 02c991a3495fcd7893e924ccde841041dc8c6520 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Tue, 3 Feb 2026 05:06:21 +0300 Subject: [PATCH] Add GitHub templates and CI workflow - PR template - Issue templates (bug report, feature request) - Hassfest validation workflow Co-Authored-By: Claude Opus 4.5 --- .github/ISSUE_TEMPLATE/bug_report.md | 46 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++++ .github/ISSUE_TEMPLATE/feature_request.md | 27 +++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 20 ++++++++++ .github/workflows/validate.yaml | 17 +++++++++ 5 files changed, 118 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/validate.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..c44e870 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,46 @@ +--- +name: Bug Report +about: Report a bug or unexpected behavior +title: '' +labels: bug +assignees: '' +--- + +## Describe the Bug + +A clear description of what the bug is. + +## Environment + +- **Home Assistant version:** +- **Integration version:** +- **Emby Server version:** + +## Steps to Reproduce + +1. +2. +3. + +## Expected Behavior + +What you expected to happen. + +## Actual Behavior + +What actually happened. + +## Logs + +
+Relevant log entries + +``` +Paste logs here +``` + +
+ +## Additional Context + +Any other context about the problem. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..2023e90 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Home Assistant Community + url: https://community.home-assistant.io/ + about: Ask questions about Home Assistant + - name: Emby Documentation + url: https://emby.media/support + about: Emby official documentation and support diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..b0cbb31 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,27 @@ +--- +name: Feature Request +about: Suggest a new feature or enhancement +title: '' +labels: enhancement +assignees: '' +--- + +## Feature Description + +A clear description of what you would like to see added. + +## Use Case + +Describe the problem this feature would solve or the use case it enables. + +## Proposed Solution + +If you have ideas on how to implement this, describe them here. + +## Alternatives Considered + +Any alternative solutions or features you've considered. + +## Additional Context + +Any other context, screenshots, or examples. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..3dc4efa --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,20 @@ +## Description + +Brief description of the changes. + +## Type of Change + +- [ ] Bug fix +- [ ] New feature +- [ ] Documentation update +- [ ] Other (describe): + +## Testing + +Describe how you tested these changes. + +## Checklist + +- [ ] Code follows project style guidelines +- [ ] Changes have been tested locally +- [ ] Documentation updated (if applicable) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml new file mode 100644 index 0000000..501b4eb --- /dev/null +++ b/.github/workflows/validate.yaml @@ -0,0 +1,17 @@ +name: Validate + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + hassfest: + name: Hassfest + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: home-assistant/actions/hassfest@master + if: github.server_url == 'https://github.com'