Skip to content

Commit e09460b

Browse files
fix(ci): dispatch the resolver by filename, not display name (#33039)
Every backport from here fails at the handover. `plan` passes — the label is authorised and the release branches resolve — then both dispatch jobs fail, because they name a workflow that no longer exists: openmetadata-collate renamed `Resolve an OpenMetadata backport conflict` to `Backport a labeled OpenMetadata PR` when it took over driving the whole backport rather than only conflicts. A dispatch by display name is a cross-repository reference with nothing checking it: no linter sees it, and it breaks silently on a rename in another repo. `benc-uk/workflow-dispatch` also accepts a filename, which does not move when the workflow is renamed, so use that instead. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 5e1951f commit e09460b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/backport-labeled-prs.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,11 @@ jobs:
172172
id: dispatch
173173
uses: benc-uk/workflow-dispatch@v1.3.2
174174
with:
175-
workflow: Resolve an OpenMetadata backport conflict
175+
# By filename, not display name. This was `Resolve an OpenMetadata
176+
# backport conflict` and broke the moment that workflow was renamed —
177+
# a dispatch by display name is a cross-repo reference with nothing
178+
# checking it. The filename is stable across renames.
179+
workflow: oss-backport-resolve.yaml
176180
repo: open-metadata/openmetadata-collate
177181
ref: main
178182
token: ${{ secrets.COLLATE_PAT }}

0 commit comments

Comments
 (0)