@switchbot/homebridge-switchbot 4.3.4 → 4.3.5

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.
@@ -57,10 +57,22 @@ jobs:
57
57
  job_name: ${{ github.job }}
58
58
  run_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
59
59
 
60
- # 6️⃣ Post to Discord
60
+ # 6️⃣ Sync GitHub Release body from CHANGELOG.md
61
+ sync-github-release:
62
+ name: Sync GitHub Release (reusable)
63
+ needs: [determine-release-type, update-version, publish-release]
64
+ uses: homebridge/.github/.github/workflows/sync-github-release.yml@latest
65
+ with:
66
+ version: ${{ needs.update-version.outputs.version }}
67
+ changelog_path: CHANGELOG.md
68
+ tag_prefix: v
69
+ secrets:
70
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
71
+
72
+ # 7️⃣ Post to Discord
61
73
  github-releases-to-discord:
62
74
  name: Discord Webhooks
63
- needs: [determine-release-type, update-version, publish-release]
75
+ needs: [determine-release-type, update-version, publish-release, sync-github-release]
64
76
  uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
65
77
  with:
66
78
  title: "SwitchBot Release"