From 8df90d2b63c9e5c1e36e64501662436747db1604 Mon Sep 17 00:00:00 2001 From: Ryan Meek <25127328+maykar@users.noreply.github.com> Date: Sat, 23 May 2020 00:39:48 -0400 Subject: [PATCH 1/4] Create label-commenter-config.yml --- .github/label-commenter-config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/label-commenter-config.yml diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml new file mode 100644 index 0000000..5d5212f --- /dev/null +++ b/.github/label-commenter-config.yml @@ -0,0 +1,25 @@ +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.**
+ 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.
+ ![Release](https://img.shields.io/github/v/release/maykar/custom-header?label=%20&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 + * The browsers or apps that are affected (i.e. Firefox, Chrome, Chrome Mobile, iOS HA Companion app, etc.) +
+ + **When pasting in your config always place 3 backticks ``` 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 From b663cd7edf0f4b957ea72db25c16ac182578ad63 Mon Sep 17 00:00:00 2001 From: Ryan Meek <25127328+maykar@users.noreply.github.com> Date: Sat, 23 May 2020 00:41:50 -0400 Subject: [PATCH 2/4] Update IssueResponse.yml --- .github/workflows/IssueResponse.yml | 32 +++++++++++++++-------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/IssueResponse.yml b/.github/workflows/IssueResponse.yml index 0898abe..b291f71 100644 --- a/.github/workflows/IssueResponse.yml +++ b/.github/workflows/IssueResponse.yml @@ -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 }} From 20eaa7968e38b5b82f35c72e1f0622a217da9e78 Mon Sep 17 00:00:00 2001 From: Ryan Meek <25127328+maykar@users.noreply.github.com> Date: Sat, 23 May 2020 00:51:41 -0400 Subject: [PATCH 3/4] Update label-commenter-config.yml --- .github/label-commenter-config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml index 5d5212f..8a00f14 100644 --- a/.github/label-commenter-config.yml +++ b/.github/label-commenter-config.yml @@ -23,3 +23,8 @@ labels: 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 From a634337542f15c9b13e0a6b78a65b8070b9ee133 Mon Sep 17 00:00:00 2001 From: Ryan Meek <25127328+maykar@users.noreply.github.com> Date: Sat, 23 May 2020 01:20:03 -0400 Subject: [PATCH 4/4] Update label-commenter-config.yml --- .github/label-commenter-config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml index 8a00f14..35ff849 100644 --- a/.github/label-commenter-config.yml +++ b/.github/label-commenter-config.yml @@ -14,6 +14,7 @@ labels: * 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.)