@switchbot/homebridge-switchbot 3.0.1-beta.4 → 3.1.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/beta-release.yml +13 -0
- package/.github/workflows/changerelease.yml +6 -8
- package/.github/workflows/dependabot.yml +3 -7
- package/.github/workflows/labeler.yml +1 -1
- package/.github/workflows/release-drafter.yml +1 -1
- package/.github/workflows/release.yml +17 -4
- package/package.json +1 -1
- package/.github/workflows/discord-webhooks.yml +0 -17
|
@@ -3,6 +3,8 @@ name: Node-CI Beta
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches: [beta-*.*.*, beta]
|
|
6
|
+
release:
|
|
7
|
+
types: [prereleased]
|
|
6
8
|
workflow_dispatch:
|
|
7
9
|
|
|
8
10
|
jobs:
|
|
@@ -29,3 +31,14 @@ jobs:
|
|
|
29
31
|
pre_id: 'beta'
|
|
30
32
|
secrets:
|
|
31
33
|
npm_auth_token: ${{ secrets.npm_token }}
|
|
34
|
+
|
|
35
|
+
github-releases-to-discord:
|
|
36
|
+
needs: publish
|
|
37
|
+
|
|
38
|
+
if: ${{ github.repository == 'OpenWonderLabs/homebridge-switchbot' && github.event.release.prerelease == true }}
|
|
39
|
+
|
|
40
|
+
uses: OpenWonderLabs/.github/.github/workflows/discord-webhooks.yml@latest
|
|
41
|
+
with:
|
|
42
|
+
footer_title: "SwitchBot"
|
|
43
|
+
secrets:
|
|
44
|
+
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
name: Changelog to Release
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
paths: [CHANGELOG.md]
|
|
7
|
-
branches: [latest]
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
8
6
|
|
|
9
7
|
jobs:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
changerelease:
|
|
9
|
+
uses: OpenWonderLabs/.github/.github/workflows/changerelease.yml@latest
|
|
10
|
+
secrets:
|
|
11
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -2,16 +2,12 @@ name: AutoDependabot
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- beta
|
|
7
|
-
- latest
|
|
5
|
+
branches: [ beta, latest ]
|
|
8
6
|
pull_request_target:
|
|
9
|
-
branches:
|
|
10
|
-
- beta
|
|
11
|
-
- latest
|
|
7
|
+
branches: [ beta, latest ]
|
|
12
8
|
|
|
13
9
|
jobs:
|
|
14
|
-
|
|
10
|
+
dependabot:
|
|
15
11
|
uses: OpenWonderLabs/.github/.github/workflows/dependabot.yml@latest
|
|
16
12
|
secrets:
|
|
17
13
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
name: Node Release
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- 'v*.*.*'
|
|
7
|
-
workflow_dispatch:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
8
6
|
|
|
9
7
|
jobs:
|
|
10
8
|
build_and_test:
|
|
@@ -22,3 +20,18 @@ jobs:
|
|
|
22
20
|
uses: OpenWonderLabs/.github/.github/workflows/npm-publish.yml@latest
|
|
23
21
|
secrets:
|
|
24
22
|
npm_auth_token: ${{ secrets.npm_token }}
|
|
23
|
+
|
|
24
|
+
github-releases-to-discord:
|
|
25
|
+
needs: publish
|
|
26
|
+
|
|
27
|
+
if: ${{ github.repository == 'OpenWonderLabs/homebridge-switchbot' }}
|
|
28
|
+
|
|
29
|
+
uses: OpenWonderLabs/.github/.github/workflows/discord-webhooks.yml@latest
|
|
30
|
+
with:
|
|
31
|
+
footer_title: "SwitchBot"
|
|
32
|
+
secrets:
|
|
33
|
+
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "SwitchBot",
|
|
3
3
|
"name": "@switchbot/homebridge-switchbot",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1.1-beta.0",
|
|
5
5
|
"description": "The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "SwitchBot",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# This is a basic workflow to help you get started with Actions
|
|
2
|
-
|
|
3
|
-
name: Discord Webhooks
|
|
4
|
-
|
|
5
|
-
# Controls when the workflow will run
|
|
6
|
-
on:
|
|
7
|
-
release:
|
|
8
|
-
types: [released, prereleased]
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
github-releases-to-discord:
|
|
12
|
-
uses: OpenWonderLabs/.github/.github/workflows/discord-webhooks.yml@latest
|
|
13
|
-
with:
|
|
14
|
-
footer_title: "SwitchBot"
|
|
15
|
-
secrets:
|
|
16
|
-
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
|
|
17
|
-
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}
|