diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..e6c5142 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,27 @@ +name: Stale + +on: + issues: + types: [reopened] + schedule: + - cron: "*/60 * * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + env: + ACTIONS_STEP_DEBUG: true + steps: + - uses: actions/stale@v3.0.5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' + stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' + stale-issue-label: 'stale' + stale-pr-label: 'stale' + days-before-stale: 30 + days-before-close: 5 + exempt-issue-labels: 'pin' + exempt-pr-labels: 'awaiting-approval,work-in-progress' + remove-stale-when-updated: true diff --git a/README.md b/README.md index a11fc60..906f36b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # homebridge-nest [![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) +[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/j5WwJTB) Nest plug-in for [Homebridge](https://github.com/nfarina/homebridge) using the native Nest API. See what's new in [release 4.4.7](https://github.com/chrisjshull/homebridge-nest/releases/tag/v4.4.7). @@ -58,7 +59,7 @@ To use a Nest Account with homebridge-nest, you will need to obtain an access to {"2fa_state":"not_enrolled","access_token":"XXX","email":"...","expires_in":"...", ...} ``` -Simply set `"access_token"` in your `config.json` file under the `"platform": "Nest"` entry to the value of `access_token` in the above string (the `XXX`), which will be a long string of letters and numbers and punctuation. +Simply set `"access_token"` in your `config.json` file under the `"platform": "Nest"` entry to the value of `access_token` in the above string (the `XXX`), which will be a long string of letters and numbers and punctuation. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab. # Using a Google Account