diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..f0ed8b766 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: Home Assistant addon issues + url: https://github.com/danielwelch/hassio-zigbee2mqtt/issues + about: Issues related to the Home Assistant addon. + - name: FAQ + url: https://www.zigbee2mqtt.io/information/FAQ.html + about: Frequently asked questions. + - name: Support Chat + url: https://discord.gg/NyseBeK + about: Chat for feedback, questions and troubleshooting. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..9238752a2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: feature request +assignees: '' + +--- + +## Is your feature request related to a problem? Please describe +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +## Describe the solution you'd like +A clear and concise description of what you want to happen. + +## Describe alternatives you've considered +A clear and concise description of any alternative solutions or features you've considered. + +## Additional context +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/new_device_support.md b/.github/ISSUE_TEMPLATE/new_device_support.md new file mode 100644 index 000000000..2acfa5682 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new_device_support.md @@ -0,0 +1,18 @@ +--- +name: New device support request +about: Request support for a new device +title: '' +labels: new device support +assignees: '' + +--- + + + +## Information about the device + link +.. + +## data/database.db entry of the device +.. diff --git a/.github/ISSUE_TEMPLATE/problem_report.md b/.github/ISSUE_TEMPLATE/problem_report.md new file mode 100644 index 000000000..538b9db03 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/problem_report.md @@ -0,0 +1,54 @@ +--- +name: Problem report +about: Create a report to help us improve +title: '' +labels: problem +assignees: '' + +--- + + + + + +## What happened + +## What did you expect to happen + +## How to reproduce it (minimal and precise) + +## Debug info +Zigbee2MQTT version: +Adapter hardware: CC2531, CC2530, CC26X2R1, CC1352P-2, Conbee II +Adapter firmware version: diff --git a/.github/workflows/update_deps.yml b/.github/workflows/update_deps.yml index 2860af38b..cf4086730 100644 --- a/.github/workflows/update_deps.yml +++ b/.github/workflows/update_deps.yml @@ -16,7 +16,7 @@ jobs: with: node-version: 12 - run: npm install - - run: npm ls --depth 0 --prod --parseable | tail -n +2 | grep -v "zigbee-herdsman" | xargs -I '{}' basename "{}" | xargs -I '{}' npm install '{}'@latest + - run: npm ls --depth 0 --prod --parseable | tail -n +2 | grep -v "zigbee" | xargs -I '{}' basename "{}" | xargs -I '{}' npm install '{}'@latest - run: rm -rf node_modules npm-shrinkwrap.json && npm install && npm shrinkwrap --dev - uses: peter-evans/create-pull-request@v2 with: diff --git a/.github/workflows/update_frontend.yml b/.github/workflows/update_frontend.yml new file mode 100644 index 000000000..958b7a0be --- /dev/null +++ b/.github/workflows/update_frontend.yml @@ -0,0 +1,22 @@ +name: Update zigbee-frontend +on: + repository_dispatch: + types: update_frontend + +jobs: + update_frontend: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + ref: dev + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + - uses: actions/setup-node@v2-beta + with: + node-version: 12 + - run: npm install zigbee2mqtt-frontend@${{ github.event.client_payload.version }} --save-exact + - uses: peter-evans/create-pull-request@v2 + with: + commit-message: Update zigbee2mqtt-frontend to ${{ github.event.client_payload.version }} + branch: "update_frontend" + title: Update zigbee-frontend to ${{ github.event.client_payload.version }}