Enhance Build_mR-NB.yml with workflow_dispatch

Add manual dispatch option with release flag to workflow
This commit is contained in:
Dimitrij
2025-09-15 21:14:20 +01:00
committed by GitHub
parent 7b7fe1b062
commit 6580e1b6db

View File

@@ -3,7 +3,14 @@ on:
push:
branches:
- v1.78.2-dev
workflow_dispatch:
inputs:
release_flag:
description: 'Run NB release'
required: false
default: 'true'
permissions:
contents: write
@@ -19,6 +26,13 @@ jobs:
platform: ARM64
arch: arm64
runs-on: ${{ matrix.runner }}
# Only run if:
# - manual dispatch, OR
# - push event AND commit message contains "NB release"
if: >
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && contains(github.event.head_commit.message, 'NB release'))
steps:
- name: (01) Checkout Repository
uses: actions/checkout@v5