[GHA] Adapt rebuild (#4785)

* Move triggering rebuild on label to separate workflow
* Grant permissions for removing label

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
Holger Friedrich
2025-05-10 18:10:51 +02:00
committed by GitHub
parent c40c258e04
commit 12a10b9fa4
2 changed files with 92 additions and 2 deletions
-2
View File
@@ -11,12 +11,10 @@ on:
- 'main'
paths-ignore:
- '.github/**/*.md'
types: [opened,synchronize,reopened,labeled]
workflow_dispatch:
jobs:
build:
if: ${{ (github.event_name == 'pull_request' && github.event.action != 'labeled') || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.label.name == 'rebuild' }}
strategy:
fail-fast: false
matrix: