Refactor workflows - user reusable workflows (#2504)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-06-27 10:51:20 +03:00
committed by GitHub
parent 4a6e862d57
commit a35201ac1c
16 changed files with 429 additions and 239 deletions

24
.github/workflows/license-scan.yaml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: License Scan
on:
# enable running the workflow manually
workflow_dispatch:
schedule:
# run every night at 2:00 AM (UTC)
- cron: '0 2 * * *'
permissions:
contents: write
jobs:
license-scan:
# only on original eclipse-hawkbit/hawkbit repo or when manually triggered
if: github.repository == 'eclipse-hawkbit/hawkbit' || github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/reusable_workflow_license-scan.yaml
permissions:
contents: write
with:
ref: ${{ github.ref }}
open_tickets: true
secrets:
inherit: true