|
| 1 | +# Placeholder for the MCP interface diff's future file name (#5463, Step 1 of |
| 2 | +# a rename staged across a milestone merge). |
| 3 | +# |
| 4 | +# The interface diff lives in `everything-mcp-diff.yml`, a name left over from |
| 5 | +# when it diffed only the Everything server. GitHub dispatches a workflow only |
| 6 | +# when its file exists on the default branch (`main`), and both version |
| 7 | +# workflows (`version-packages.yml`, `prepare-python-release.yml`) dispatch |
| 8 | +# the diff by file name from `v2/main`. Renaming it in one step on `v2/main` |
| 9 | +# would break their dispatch until the next milestone merge. So the rename is |
| 10 | +# staged: |
| 11 | +# |
| 12 | +# 1. This file ships to `main` in a milestone merge. It is a placeholder, not |
| 13 | +# a copy of the diff: a dispatch resolves the file name on `main` but runs |
| 14 | +# the file as it is on the dispatched ref, so a placeholder makes the name |
| 15 | +# dispatchable as well as a copy would, without a second copy to keep in |
| 16 | +# step meanwhile. It has only a `workflow_dispatch` trigger, so it never |
| 17 | +# runs beside the real diff on a push or a pull request. |
| 18 | +# 2. After that merge, #5527 (Step 2) moves `everything-mcp-diff.yml`'s |
| 19 | +# contents here, switches the callers to this name, and deletes the old |
| 20 | +# file. |
| 21 | +# |
| 22 | +# Until then, nothing dispatches this file, and a manual dispatch only says |
| 23 | +# where the diff is. |
| 24 | +name: MCP Interface Diff (rename placeholder) |
| 25 | + |
| 26 | +on: |
| 27 | + workflow_dispatch: |
| 28 | + |
| 29 | +permissions: |
| 30 | + contents: read |
| 31 | + |
| 32 | +jobs: |
| 33 | + placeholder: |
| 34 | + name: Point to the interface diff |
| 35 | + timeout-minutes: 5 |
| 36 | + runs-on: ubuntu-latest |
| 37 | + steps: |
| 38 | + - name: Say where the interface diff runs |
| 39 | + run: | |
| 40 | + echo "This file is a placeholder for a staged rename (#5463, #5527)." |
| 41 | + echo "The MCP interface diff runs from .github/workflows/everything-mcp-diff.yml:" |
| 42 | + echo " gh workflow run everything-mcp-diff.yml --ref <branch>" |
0 commit comments