diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml new file mode 100644 index 00000000..77eb3261 --- /dev/null +++ b/.github/label-commenter-config.yml @@ -0,0 +1,77 @@ +# https://github.com/marketplace/actions/label-commenter + +labels: + - name: "integration: utility_meter" + labeled: + issue: + body: "#HomeAssistant ```utility_meter``` integration documentation - https://www.home-assistant.io/integrations/utility_meter/" + + - name: "integration: alert" + labeled: + issue: + body: "#HomeAssistant ```alert``` integration documentation - https://www.home-assistant.io/integrations/alert/" + + - name: "integration: input_number" + labeled: + issue: + body: "#HomeAssistant ```input_number``` integration documentation - https://www.home-assistant.io/integrations/input_number/" + + - name: "integration: input_text" + labeled: + issue: + body: "#HomeAssistant ```input_text``` integration documentation - https://www.home-assistant.io/integrations/input_text/" + + - name: "integration: counter" + labeled: + issue: + body: "#HomeAssistant ```counter``` integration documentation - https://www.home-assistant.io/integrations/counter/" + + - name: "integration: input_boolean" + labeled: + issue: + body: "#HomeAssistant ```input_boolean``` integration documentation - https://www.home-assistant.io/integrations/input_boolean/" + + - name: "integration: binary_sensor" + labeled: + issue: + body: "#HomeAssistant ```binary_sensor``` integration documentation - https://www.home-assistant.io/integrations/binary_sensor/ and https://www.home-assistant.io/integrations/binary_sensor.template/" + + - name: "integration: input_datetime" + labeled: + issue: + body: "#HomeAssistant ```input_datetime``` integration documentation - https://www.home-assistant.io/integrations/input_datetime/" + + - name: "integration: input_select" + labeled: + issue: + body: "#HomeAssistant ```input_select``` integration documentation - https://www.home-assistant.io/integrations/input_select/" + + - name: "integration: person" + labeled: + issue: + body: "#HomeAssistant ```person``` integration documentation - https://www.home-assistant.io/integrations/person/" + + - name: "integration: timer" + labeled: + issue: + body: "#HomeAssistant ```timer``` integration documentation - https://www.home-assistant.io/integrations/timer/" + + - name: "integration: sensor_template" + labeled: + issue: + body: "#HomeAssistant ```sensor``` integration documentation - https://www.home-assistant.io/integrations/template/" + + - name: "core: lovelace" + labeled: + issue: + body: "#HomeAssistant ```lovelace``` documentation - https://www.home-assistant.io/lovelace/" + + - name: "lovelace: dashboards" + labeled: + issue: + body: "#HomeAssistant ```lovelace dashbaords``` documentation - https://www.home-assistant.io/lovelace/dashboards-and-views/" + + - name: "lovelace: cards" + labeled: + issue: + body: "#HomeAssistant ```lovelace cards``` documentation - https://www.home-assistant.io/lovelace/entity/" diff --git a/.github/weekly-digest.yml b/.github/weekly-digest.yml index ea252e6d..08cced63 100644 --- a/.github/weekly-digest.yml +++ b/.github/weekly-digest.yml @@ -1,4 +1,5 @@ -publishDay: sun +# Configuration for weekly-digest - https://github.com/apps/weekly-digest +publishDay: mon canPublishIssues: true canPublishPullRequests: true canPublishContributors: true diff --git a/.github/workflows/label-commenter.yml b/.github/workflows/label-commenter.yml new file mode 100644 index 00000000..d5a713a1 --- /dev/null +++ b/.github/workflows/label-commenter.yml @@ -0,0 +1,28 @@ + +# .github/workflows/label-commenter.yml + +name: Label Commenter + +on: + issues: + types: + - labeled + - unlabeled + pull_request: + types: + - labeled + - unlabeled + +jobs: + comment: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + with: + ref: master + + - name: Label Commenter + uses: peaceiris/actions-label-commenter@v1 + with: + github_token: ${{ secrets.token }} + # config_file: .github/label-commenter-config.yml