-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
545021e
commit 5adbdf7
Showing
23 changed files
with
18,884 additions
and
6,305 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Beta Release | ||
|
||
on: | ||
push: | ||
branches: [beta-*.*.*, beta] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_and_test: | ||
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest | ||
with: | ||
enable_coverage: false | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
lint: | ||
needs: build_and_test | ||
uses: homebridge/.github/.github/workflows/eslint.yml@latest | ||
|
||
publish: | ||
needs: lint | ||
if: ${{ github.repository == 'homebridge-plugins/homebridge-plugin-update-check' }} | ||
permissions: | ||
id-token: write | ||
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest | ||
with: | ||
tag: 'beta' | ||
dynamically_adjust_version: true | ||
npm_version_command: 'pre' | ||
pre_id: 'beta' | ||
secrets: | ||
npm_auth_token: ${{ secrets.npm_token }} | ||
|
||
pre-release: | ||
needs: publish | ||
if: ${{ github.repository == 'homebridge-plugins/homebridge-plugin-update-check' }} | ||
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-plugin-update-check/wiki/Beta-Version) | ||
github-releases-to-discord: | ||
name: Discord Webhooks | ||
needs: [build_and_test,publish] | ||
if: ${{ github.repository == 'homebridge-plugins/homebridge-plugin-update-check' }} | ||
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest | ||
with: | ||
title: "Cloudflared Tunnel Beta Release" | ||
description: | | ||
Version `v${{ needs.publish.outputs.NPM_VERSION }}` | ||
url: "https://github.com/homebridge-plugins/homebridge-plugin-update-check/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}" | ||
secrets: | ||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_BETA || secrets.DISCORD_WEBHOOK_URL_LATEST }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Node Build | ||
|
||
on: | ||
push: | ||
branches: [latest] | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_and_test: | ||
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest | ||
with: | ||
enable_coverage: false | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
lint: | ||
needs: build_and_test | ||
uses: homebridge/.github/.github/workflows/eslint.yml@latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Changelog to Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
changerelease: | ||
uses: homebridge/.github/.github/workflows/change-release.yml@latest | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Labeler | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
labeler: | ||
uses: homebridge/.github/.github/workflows/labeler.yml@latest | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: [latest] | ||
pull_request: # required for autolabeler | ||
branches: [latest] | ||
types: [opened, reopened, synchronize, ready_for_review, review_requested] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release-drafter: | ||
uses: homebridge/.github/.github/workflows/release-drafter.yml@latest | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build_and_test: | ||
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest | ||
with: | ||
enable_coverage: false | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
publish: | ||
needs: build_and_test | ||
if: ${{ github.repository == 'homebridge-plugins/homebridge-plugin-update-check' }} | ||
permissions: | ||
id-token: write | ||
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest | ||
secrets: | ||
npm_auth_token: ${{ secrets.npm_token }} | ||
|
||
github-releases-to-discord: | ||
name: Discord Webhooks | ||
needs: [build_and_test,publish] | ||
if: ${{ github.repository == 'homebridge-plugins/homebridge-plugin-update-check' }} | ||
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest | ||
with: | ||
title: "Cloudflared Tunnel Release" | ||
description: | | ||
Version `v${{ needs.publish.outputs.NPM_VERSION }}` | ||
url: "https://github.com/homebridge-plugins/homebridge-plugin-update-check/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}" | ||
secrets: | ||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }} |
Oops, something went wrong.