From 121f0ccceaddc7a3b63900bff3995bac8d657eab Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Fri, 27 Mar 2026 14:05:06 +0000 Subject: [PATCH] build: add run_name input to support cross-repo automation Allow callers to set a custom display name for workflow_dispatch runs via the new run_name input. This enables the microsoft/git release workflow to set a deterministic run name when triggering VFS for Git builds, so it can reliably poll for and link back to the dispatched run. When run_name is not provided, the display name defaults to the workflow name 'VFS for Git', preserving existing behavior. Signed-off-by: Matthew John Cheetham --- .github/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 54f67b5d7..231175a5e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,5 +1,7 @@ name: VFS for Git +run-name: ${{ inputs.run_name || 'VFS for Git' }} + on: pull_request: branches: [ master, releases/shipped ] @@ -11,6 +13,10 @@ on: description: 'Microsoft Git version tag to include in the build (leave empty for default)' required: false type: string + run_name: + description: 'Optional display name for this run (used for cross-repo automation)' + required: false + type: string permissions: contents: read