-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add Labeler for PRs - Separate prereleases and releases for Discord Webhooks
- Loading branch information
1 parent
4fa8f5d
commit e7aca5e
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
# Add 'beta' label to any PR where the base branch name starts with `beta` or has a `beta` section in the name | ||
beta: | ||
- base-branch: ['^beta', 'beta', 'beta*'] | ||
|
||
# Add 'beta' label to any PR where the base branch name starts with `beta` or has a `beta` section in the name | ||
alpha: | ||
- base-branch: ['^alpha', 'alpha', 'alpha*'] | ||
|
||
# Add 'latest' label to any PR where the base branch name starts with `latest` or has a `latest` section in the name | ||
latest: | ||
- base-branch: ['^latest', 'latest', '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,17 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Discord Webhooks | ||
|
||
# Controls when the workflow will run | ||
on: | ||
release: | ||
types: [released, prereleased] | ||
|
||
jobs: | ||
github-releases-to-discord: | ||
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest | ||
with: | ||
footer_title: "Homebridge Raspbian Image" | ||
secrets: | ||
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }} | ||
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,12 @@ | ||
name: Labeler | ||
|
||
on: | ||
pull_request_target: # required for auto labeler | ||
types: [opened, reopened, synchronize] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
stale: | ||
uses: homebridge/.github/.github/workflows/labeler.yml@latest | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} |