🔨 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
# 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)
## 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 -->
[autolink-references]: https://help.github.com/articles/autolinked-references-and-urls/

7
.github/config.yml vendored
View file

@ -34,16 +34,17 @@ requestInfoUserstoExclude: []
newIssueWelcomeComment: >
:wave: Thanks for opening your first issue here!
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
# Comment to be posted to on PRs from first time contributors in your repository
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
# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: >
Congrats on merging your first pull request! :tada: :tada: :tada:
Congrats on merging your first pull request! :tada::tada::tada:

45
.github/settings.yml vendored
View file

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