mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-31 13:34:22 +02:00
[GHA] Allow rebuild using label rebuild (#18596)
* This restores functionality we had before we migrated the PR builds to GitHub Actions. Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -12,6 +12,7 @@ on:
|
||||
paths-ignore:
|
||||
- '.github/**/*.md'
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# This workflow triggers the ci_build workflow when a pull request
|
||||
# is labeled with 'rebuild'.
|
||||
name: Trigger ci_build on label
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
|
||||
jobs:
|
||||
trigger-build:
|
||||
if: ${{ github.event.label.name == 'rebuild' }}
|
||||
uses: ./.github/workflows/ci-build.yml
|
||||
Reference in New Issue
Block a user