🔨 Updates Probot configuration and GitHub templates

This commit is contained in:
Franck Nijhof 2018-12-12 00:09:05 +01:00
parent eac7a6dcaf
commit 751f516a5b
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
8 changed files with 44 additions and 88 deletions

3
.github/CODEOWNERS vendored
View file

@ -1,3 +1,4 @@
# Require maintainer's :+1: for changes to the .github/ repo-config files # Require maintainer's :+1: for changes to the .github/ repo-config files
# mainly due to https://github.com/probot/settings privilege escalation # mainly due to https://github.com/probot/settings privilege escalation
.github/* @timmo001 .github/* @frenck
.gitlab-ci.yml @frenck

20
.github/ISSUE_TEMPLATE.md vendored Executable file
View file

@ -0,0 +1,20 @@
# Problem/Motivation
> (Why the issue was filed)
## Expected behavior
> (What you expected to happen)
## Actual behavior
> (What actually happened)
## Steps to reproduce
> (How can someone else make/see it happen)
## Proposed changes
> (If you have a proposed change, workaround or fix,
> describe the rationale behind it)

View file

@ -1,21 +0,0 @@
---
name: 'Bug'
about: A bug found the application. This is not a support question. Please
ask these via the support channels.
---
# Description
## How to reproduce the issue (if applicable)
## Screenshots (if applicable)
## Additional information

View file

@ -1,16 +0,0 @@
---
name: 'Feature request'
about: Suggest an idea for this project
---
# Description
## Suggested Actions
## Additional

View file

@ -1,15 +1,9 @@
# Description # Proposed Changes
> (Describe the changes and rationale behind them)
## Related Issues
## Related issues this fixes > ([Github link][autolink-references] to related issues or pull requests)
[autolink-references]: https://help.github.com/articles/autolinked-references-and-urls/
## Checklist
<!-- Remember! You can check these boxes later after posting your PR -->
- [ ] Change has been tested and works on my device(s).
- [ ] Linters have been run.<!-- This is handled by the GitLab CI server as preflight checks. Make sure to fix any errors found -->
- [ ] I am ready to merge.<!-- You can set the title to 'WIP: My PR' to stop merge early -->

5
.github/config.yml vendored
View file

@ -34,13 +34,14 @@ requestInfoUserstoExclude: []
newIssueWelcomeComment: > newIssueWelcomeComment: >
:wave: Thanks for opening your first issue here! :wave: Thanks for opening your first issue here!
If you're reporting a :bug: bug, please make sure you include steps to reproduce it. If you're reporting a :bug: bug, please make sure you include steps to reproduce it.
Also, any logs, error messages etc. are useful. Also, logs, error messages and information about your hardware might be usefull.
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome # Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
# Comment to be posted to on PRs from first time contributors in your repository # Comment to be posted to on PRs from first time contributors in your repository
newPRWelcomeComment: > newPRWelcomeComment: >
Thanks for opening this pull request! :+1: :sparkling_heart: Thanks for opening this pull request! :sparkling_heart:
If your PR gets accepted and merged in, we will invite you to the project :tada:
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge # Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge

45
.github/settings.yml vendored
View file

@ -1,8 +1,8 @@
--- ---
repository: repository:
description: "Hass.io Add-on: Home Panel" description: "Home Panel - Community Hass.io Add-on for Home Assistant"
homepage: https://git.timmo.xyz/home-panel/
topics: home-panel, home-automation, home-assistant, hassio, hassio-addons, hass, javascript, reactjs topics: home-panel, home-automation, home-assistant, hassio, hassio-addons, hass, javascript, reactjs
homepage: https://addons.community
private: false private: false
has_issues: true has_issues: true
has_projects: false has_projects: false
@ -10,62 +10,52 @@ repository:
has_downloads: false has_downloads: false
default_branch: master default_branch: master
allow_squash_merge: true allow_squash_merge: true
allow_merge_commit: true allow_merge_commit: false
allow_rebase_merge: true allow_rebase_merge: true
labels: labels:
# Priority labels # Priority labels
- name: "Priority: Critical" - name: "Priority: Critical"
color: ee0701 color: ee0701
description: "This should be dealt with ASAP. This issue is critical." description: "This should be dealt with ASAP. Not fixing this issue would be a serious error."
oldname: "Critical Priority"
- name: "Priority: High" - name: "Priority: High"
color: b60205 color: b60205
description: "After critical issues are fixed, these should be dealt with before any further issues." description: "After critical issues are fixed, these should be dealt with before any further issues."
oldname: "High Priority"
- name: "Priority: Medium" - name: "Priority: Medium"
color: 0e8a16 color: 0e8a16
description: "This issue may be useful, and needs some attention." description: "This issue may be useful, and needs some attention."
oldname: "Medium Priority"
- name: "Priority: Low" - name: "Priority: Low"
color: e4ea8a color: e4ea8a
description: "Low priotity issue." description: "Nice addition, maybe... someday..."
oldname: "Low Priority"
# Type labels # Type labels
- name: "Type: Bug" - name: "Type: Bug"
color: ee0701 color: ee0701
description: "Inconsistencies or issues which will cause a problem for users or implementors." description: "Inconsistencies or issues which will cause a problem for users or implementors."
oldname: "Bug"
- name: "Type: Documentation" - name: "Type: Documentation"
color: 0052cc color: 0052cc
description: "Solely about the documentation of the project." description: "Solely about the documentation of the project."
oldname: "Documentation"
- name: "Type: Enhancement" - name: "Type: Enhancement"
color: 1d76db color: 1d76db
description: "Enhancement of the code, not introducing new features." description: "Enhancement of the code, not introducing new features."
oldname: "Enhancement"
- name: "Type: Feature" - name: "Type: Feature"
color: 0e8a16 color: 0e8a16
description: "New features or options." description: "New features or options."
oldname: "Feature"
- name: "Type: Support" - name: "Type: Support"
color: 5319e7 color: 5319e7
description: "Marks an issue as an support ticket." description: "Marks an issue as an support ticket."
oldname: "Question"
- name: "Type: Discussion" - name: "Type: Discussion"
color: d4c5f9 color: d4c5f9
description: "Marks an issue as an generic discussion ticket." description: "Marks an issue as an generic discussion ticket."
oldname: "Discussion" - name: "Type: Maintaince"
- name: "Type: Maintenance"
color: 2af79e color: 2af79e
description: "Generic maintenance tasks, e.g., package updates." description: "Generic maintaince tasks, e.g., package updates."
# Additional markers # Additional markers
- name: "Security" - name: "Security"
color: ee0701 color: ee0701
description: "Marks an security issues that needs to be resolved asap." description: "Marks an security issues that needs to be resolved asap."
- name: "Idea" - name: "Idea"
color: ffff28 color: fef2c0
description: "Marks an idea, which might be excepted and implemented." description: "Marks an idea, which might be excepted and implemented."
- name: "Incomplete" - name: "Incomplete"
color: fef2c0 color: fef2c0
@ -87,78 +77,61 @@ labels:
- name: "Status: Triage" - name: "Status: Triage"
color: fbca04 color: fbca04
description: "This issue needs to be triaged." description: "This issue needs to be triaged."
oldname: "triage"
- name: "Status: On hold" - name: "Status: On hold"
color: cccccc color: cccccc
description: "Issue or PR that has been placed on hold for now." description: "Issue or PR that has been placed on hold for now."
oldname: "On hold"
- name: "Status: In progress" - name: "Status: In progress"
color: fbca04 color: fbca04
description: "Issue is currently being resolved by a developer." description: "Issue is currently being resolved by a developer."
- name: "Status: Stale" - name: "Status: Stale"
color: fef2c0 color: fef2c0
description: "There has not been activity on this issue or PR for quite some time." description: "There has not been activity on this issue or PR for quite some time."
oldname: "stale"
- name: "Status: Awaiting response" - name: "Status: Awaiting response"
color: fef2c0 color: fef2c0
description: "Issue or PR awaits response from the creator." description: "Issue or PR awaits response from the creator."
oldname: "Awaiting Response"
- name: "Status: Blocked" - name: "Status: Blocked"
color: fef2c0 color: fef2c0
description: "Progress on this issue is currently not possible." description: "Progress on this issue is currently not possible."
oldname: "Blocked"
# Closing status labels # Closing status labels
- name: "Closed: Known limitation" - name: "Closed: Known limitation"
color: e6e6e6 color: e6e6e6
description: "Issue is closed, it is a known limitation." description: "Issue is closed, it is a known limitation."
oldname: "Known Limitation"
- name: "Closed: Expected behavior" - name: "Closed: Expected behavior"
color: e6e6e6 color: e6e6e6
description: "Issues is closed, it is expected behavior." description: "Issues is closed, it is expected behavior."
oldname: "Expected behavior"
- name: "Closed: Duplicate" - name: "Closed: Duplicate"
color: e6e6e6 color: e6e6e6
description: "Issue is closed, duplicate of an existing issue." description: "Issue is closed, duplicate of an existing issue."
oldname: "Duplicate"
- name: "Closed: Invalid" - name: "Closed: Invalid"
color: e6e6e6 color: e6e6e6
description: "Issue is closed, marked as not a valid issue (e.g., an user error)." description: "Issue is closed, marked as not a valid issue (e.g., an user error)."
oldname: "Invalid"
- name: "Closed: Wrong repository" - name: "Closed: Wrong repository"
color: e6e6e6 color: e6e6e6
description: "Issue is closed, was created in the wrong repository." description: "Issue is closed, was created in the wrong repository."
oldname: "Wrong repository"
- name: "Closed: Won't Fix" - name: "Closed: Won't Fix"
color: e6e6e6 color: e6e6e6
description: "Issue is closed, it won't be fixed." description: "Issue is closed, it won't be fixed."
oldname: "Won't fix"
- name: "Closed: Done" - name: "Closed: Done"
color: c2e0c6 color: c2e0c6
description: "Issue closed, work on this issue has been marked complete." description: "Issue closed, work on this issue has been marked complete."
oldname: "Done"
# Others # Others
- name: "Beginner Friendly" - name: "Beginner Friendly"
color: 0e8a16 color: 0e8a16
description: "Good first issue for people wanting to contribute to the project." description: "Good first issue for people wanting to contribute to the project."
oldname: "Good first issue"
- name: "Help wanted" - name: "Help wanted"
color: 0e8a16 color: 0e8a16
description: "We need some extra helping hands or expertise in order to resolve this." description: "We need some extra helping hands or expertise in order to resolve this."
oldname: "Help Wanted"
- name: "Hacktoberfest" - name: "Hacktoberfest"
description: "Issues/PRs are participating in the Hacktoberfest" description: "Issues/PRs are participating in the Hacktoberfest"
color: fbca04 color: fbca04
- name: "Dependencies"
description: "Updates dependencies"
color: 2196F3
oldname: "dependencies"
branches: branches:
- name: master - name: master
protection: protection:
required_pull_request_reviews: required_pull_request_reviews:
# required_approving_review_count: 1
dismiss_stale_reviews: true dismiss_stale_reviews: true
require_code_owner_reviews: true require_code_owner_reviews: true
dismissal_restrictions: dismissal_restrictions:

4
.github/support.yml vendored
View file

@ -11,6 +11,10 @@ supportComment: >
However, this issue appears to be a support request. Please use our However, this issue appears to be a support request. Please use our
support channels to get help with the project. support channels to get help with the project.
Head over to the
[Home Assistant community forum](https://community.home-assistant.io/t/home-panel-a-touch-compatible-webapp-for-controlling-the-home/62597?u=timmo001)
or join our [Discord](https://discord.me/hassioaddons) chat.
# Close issues marked as support requests # Close issues marked as support requests
close: true close: true