Skip to content

Commit 95ebb28

Browse files
raakella1claude
andcommitted
ci: register merge_build_3x.yml for manual dispatch
GitHub only shows the "Run workflow" button for a workflow path if that path exists on the default branch with a workflow_dispatch trigger. The "Homestore 3.x Build" workflow (.github/workflows/merge_build_3x.yml) only lives on the stable/v3.x-line branches (stable/v3.7.x, stable/v3.8.x, stable/v6.x), so it was never dispatchable, and there was no self-service way to refresh its Conan/IOMgr caches when they expire -- PRs against those branches would fail in "Load IOMgr Cache" with fail-on-cache-miss, and the only fix was a maintainer pushing/merging directly to the branch. Add a stub copy of this workflow on the default branch containing only the workflow_dispatch trigger. This registers the path so the "Run workflow" button appears; picking a stable/v3.x branch from "Use workflow from" runs that branch's own (real) copy of the file, refreshing its caches, self-service for anyone with repo Write access. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 0d224a5 commit 95ebb28

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Homestore 3.x Build
2+
3+
# This file intentionally has no jobs of its own here on the default branch.
4+
#
5+
# GitHub only shows the "Run workflow" manual-dispatch button for a workflow
6+
# path if that path exists on the repo's default branch with a
7+
# `workflow_dispatch` trigger (see
8+
# https://docs.github.com/actions/using-workflows/manually-running-a-workflow).
9+
# The real "Homestore 3.x Build" workflow lives at this same path
10+
# (.github/workflows/merge_build_3x.yml) on the stable/v3.x-line branches
11+
# (e.g. stable/v3.7.x, stable/v3.8.x, stable/v6.x), where it builds
12+
# dependencies and refreshes the Conan/IOMgr caches those branches rely on.
13+
#
14+
# This stub exists purely to register that path for manual dispatch. To
15+
# actually run/refresh the cache for one of those branches, open this
16+
# workflow's Actions page, click "Run workflow", and pick the target branch
17+
# (e.g. stable/v3.8.x) from the "Use workflow from" dropdown. GitHub will run
18+
# that branch's own copy of this file, not this stub, and does not require
19+
# repo maintainer/admin rights -- any collaborator with Write access can do
20+
# this self-service, instead of needing someone to push/merge to the branch
21+
# to naturally trigger the push-based cache refresh.
22+
23+
on:
24+
workflow_dispatch:
25+
26+
jobs:
27+
noop:
28+
runs-on: ubuntu-22.04
29+
steps:
30+
- name: Explain
31+
run: |
32+
echo "This is a dispatch-registration stub on the default branch."
33+
echo "Re-run this workflow with 'Use workflow from' set to a"
34+
echo "stable/v3.x-line branch (e.g. stable/v3.8.x) to run the real"
35+
echo "3.x build/cache-refresh workflow defined on that branch."

0 commit comments

Comments
 (0)