Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/maykar/custom-header
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar committed May 24, 2020
2 parents b882e61 + a634337 commit 708553a
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 15 deletions.
31 changes: 31 additions & 0 deletions .github/label-commenter-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
labels:
- name: Bug
labeled:
issue:
body: |
## Important:
**Issues that don't provide the necessary information listed below may not get a reply and will be closed until the info is provided.**<br>
If you haven't yet done so, please read the ["Before Posting an Issue"](https://maykar.github.io/custom-header/#issues) section of the docs site.<br>
![Release](https://img.shields.io/github/v/release/maykar/custom-header?label=%20&amp;style=flat-square) is the current version of Custom Header. Be sure that you are using the latest version by checking your browser's dev tools console (usually found by pressing F12). If this doesn't display the current version either clear your cache or reinstall.
**Include as much of the following info as you can:**
* A copy/paste of your Custom Header config (found in "Raw Config Editor" or ui-lovelace.yaml)
* Any errors relevant to Custom Header found in the HA logs
* Any relevant errors found in your browsers dev console (F12)
* The version of Home Assistant and Custom Header you are using
* Installation method (HACS or manual)
* The browsers or apps that are affected (i.e. Firefox, Chrome, Chrome Mobile, iOS HA Companion app, etc.)
<br>
**When pasting in your config always place 3 backticks <code>```</code> above the first line of your config and after the last line. Doing this will format it correctly so that I may find any formatting errors in your config.**
- name: Missing Info
labeled:
issue:
body: In order for me to replicate and troubleshoot the issue, please provide as much of the info requested in the reply above. This issue will remain closed until more information is provided.
action: close
- name: Stale
labeled:
issue:
body: After a request for more info or clarification there has been no activity for 7 or more days. Closing issue as stale.
action: close
32 changes: 17 additions & 15 deletions .github/workflows/IssueResponse.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: Issue Autoresponse

on:
issues:
types: [opened]
types:
- labeled
- unlabeled
pull_request:
types:
- labeled
- unlabeled

jobs:
auto-response:
runs-on: ubuntu-latest

comment:
runs-on: ubuntu-18.04
steps:
- if: github.event.label.name != 'Feature Request'
uses: derekprior/add-autoresponse@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
respondableId: ${{ github.event.issue.node_id }}
response: "Please, be sure to read the [issues section](https://maykar.github.io/custom-header/#issues) of the docs and provide the required information. Issues that don't provide the necessary information may not get a reply and may be closed. If this is a feature request you can ignore this message."
author: ${{ github.event.issue.user.login }}

- uses: actions/checkout@v2
with:
ref: master

- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 708553a

Please sign in to comment.