Skip to content

Commit 8bc736e

Browse files
markpollackchedim
authored andcommitted
Enable manual triggering for maintenance-fast.yml workflow
Add workflow_dispatch trigger to maintenance-fast.yml on main branch to enable manual triggering with commit SHA input. GitHub only shows manual trigger options for workflows that exist on the default branch, so adding this trigger allows the maintenance-fast workflow to be manually triggered from the GitHub UI. The actual workflow implementation with commit checkout logic already exists on the 1.0.x branch and will be used when manually triggered. Signed-off-by: [email protected]
1 parent 37411af commit 8bc736e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/maintenance-fast.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ run-name: ${{ github.event.inputs.commit_sha && format('Manual Test - {0}', gith
44
on:
55
push:
66
branches: ['*.*.x']
7+
workflow_dispatch:
8+
inputs:
9+
commit_sha:
10+
description: 'Specific commit SHA to test (optional - defaults to latest)'
11+
required: false
12+
type: string
713

814
jobs:
915
fast-impacted:
10-
if: contains(github.event.head_commit.message, '(cherry picked from commit')
16+
if: ${{ contains(github.event.head_commit.message, '(cherry picked from commit') || github.event_name == 'workflow_dispatch' }}
1117
runs-on: ubuntu-latest
1218
permissions:
1319
contents: read

0 commit comments

Comments
 (0)