Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.2.8 #137

Merged
merged 7 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ contact_links:
url: https://discord.gg/8fpZA4S
about: Please ask and answer questions here.
- name: Homebridge-August - Pull Requests
url: https://github.com/donavanbecker/homebridge-august/pulls
url: https://github.com/homebridge-plugins/homebridge-august/pulls
about: Please report security vulnerabilities here.
44 changes: 27 additions & 17 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
name: Node-CI Beta
name: Beta Release

on:
push:
branches: [beta-*.*.*, beta]
release:
types: [prereleased]
workflow_dispatch:

jobs:
build_and_test:
uses: donavanbecker/.github/.github/workflows/nodejs-build-and-test.yml@latest
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
enable_coverage: false
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: donavanbecker/.github/.github/workflows/eslint.yml@latest
uses: homebridge/.github/.github/workflows/eslint.yml@latest

publish:
needs: lint

if: ${{ github.repository == 'donavanbecker/homebridge-august' }}

uses: donavanbecker/.github/.github/workflows/npm-publish.yml@latest
if: ${{ github.repository == 'homebridge-plugins/homebridge-august' }}
permissions:
id-token: write
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
with:
tag: 'beta'
dynamically_adjust_version: true
Expand All @@ -32,14 +30,26 @@ jobs:
secrets:
npm_auth_token: ${{ secrets.npm_token }}

github-releases-to-discord:
pre-release:
needs: publish
if: ${{ github.repository == 'homebridge-plugins/homebridge-august' }}
uses: homebridge/.github/.github/workflows/pre-release.yml@latest
with:
npm_version: ${{ needs.publish.outputs.NPM_VERSION }}
body: |
**Beta Release**
**Version**: v${{ needs.publish.outputs.NPM_VERSION }}
[How To Test Beta Releases](https://github.com/homebridge-plugins/homebridge-august/wiki/Beta-Version)

if: ${{ github.repository == 'donavanbecker/homebridge-august' && github.event.release.prerelease == true }}

uses: OpenWonderLabs/.github/.github/workflows/discord-webhooks.yml@latest
github-releases-to-discord:
name: Discord Webhooks
needs: [build_and_test,publish]
if: ${{ github.repository == 'homebridge-plugins/homebridge-august' }}
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
with:
footer_title: "August"
title: "August Beta Release"
description: |
Version `v${{ needs.publish.outputs.NPM_VERSION }}`
url: "https://github.com/homebridge-plugins/homebridge-august/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
secrets:
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_BETA || secrets.DISCORD_WEBHOOK_URL_LATEST }}
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:

jobs:
build_and_test:
uses: donavanbecker/.github/.github/workflows/nodejs-build-and-test.yml@latest
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
enable_coverage: false
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: donavanbecker/.github/.github/workflows/eslint.yml@latest
uses: homebridge/.github/.github/workflows/eslint.yml@latest
2 changes: 1 addition & 1 deletion .github/workflows/changerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ on:

jobs:
changerelease:
uses: donavanbecker/.github/.github/workflows/changerelease.yml@latest
uses: homebridge/.github/.github/workflows/change-release.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/dependabot.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ on: [pull_request]

jobs:
labeler:
uses: donavanbecker/.github/.github/workflows/labeler.yml@latest
uses: homebridge/.github/.github/workflows/labeler.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ on:

jobs:
release-drafter:
uses: donavanbecker/.github/.github/workflows/release-drafter.yml@latest
uses: homebridge/.github/.github/workflows/release-drafter.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
31 changes: 16 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
name: Node Release
name: Release

on:
release:
types: [published]

jobs:
build_and_test:
uses: donavanbecker/.github/.github/workflows/nodejs-build-and-test.yml@latest
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
enable_coverage: false
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

publish:
needs: build_and_test

if: ${{ github.repository == 'donavanbecker/homebridge-august' }}

uses: donavanbecker/.github/.github/workflows/npm-publish.yml@latest
if: ${{ github.repository == 'homebridge-plugins/homebridge-august' }}
permissions:
id-token: write
uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
secrets:
npm_auth_token: ${{ secrets.npm_token }}

github-releases-to-discord:
needs: publish

if: ${{ github.repository == 'donavanbecker/homebridge-august' }}

uses: donavanbecker/.github/.github/workflows/discord-webhooks.yml@latest
name: Discord Webhooks
needs: [build_and_test,publish]
if: ${{ github.repository == 'homebridge-plugins/homebridge-august' }}
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
with:
footer_title: "August"
title: "August Release"
description: |
Version `v${{ needs.publish.outputs.NPM_VERSION }}`
url: "https://github.com/homebridge-plugins/homebridge-august/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
secrets:
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:

jobs:
stale:
uses: donavanbecker/.github/.github/workflows/stale.yml@latest
uses: homebridge/.github/.github/workflows/stale.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
Loading
Loading