docs(migration): correct the false "uses: is redirected on rename" claim#10
Merged
Conversation
GitHub Actions does NOT follow repository renames when resolving `uses:`
(verified against GitHub's official "renaming a repository" docs: the call
fails with `repository not found`). git/web/API access *is* redirected — which
is why a reusable workflow's inner actions/checkout of the old path still works
— but the outer `uses:` resolution is not. The previous migration guidance said
the opposite ("nothing breaks, GitHub redirects the uses: path"), which would
have led pinned-tag consumers to skip the one edit they actually must make.
Now states the truth: a pinned-tag consumer must change the `uses:` owner to
Netis/olympus, keeping the same @tag (tags travelled with the repo) and keeping
.agent-ops.json + agent_ops_ref until they re-pin to a post-rename Olympus tag.
Also fixes the stale "heron is not a consumer yet" section — heron IS consumer
#1 (5 pinned wrappers at v0.2.0/v0.3.1); the repoint is tracked in Netis/heron#164.
- docs/migration.md: short answer, impact-by-pin table, redirect-scope note,
heron section.
- docs/pantheon.md: mechanism-layer note + acceptance bullet.
- scripts/lint/check-legacy-naming.sh: header comment + the uses: fix message.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Correct a factually wrong claim in the migration guidance, discovered while
performing the
Netis/agent-ops→Netis/olympusGitHub repo rename.docs/migration.md(andpantheon.md+ the migration linter's wording) statedthat GitHub redirects a renamed repo's
uses:path, so a pinned-tagconsumer "keeps working unchanged / nothing breaks." That is the opposite of
GitHub's actual behavior. From GitHub's official renaming a repository docs:
git/web/API access is redirected (which is why a reusable workflow's owninner
actions/checkoutof the old path still clones) — but the outeruses:resolution is not. The old guidance would have told pinned-tagconsumers to skip the single edit they must actually make.
Changes
docs/migration.md— short answer, the impact-by-pin table, theredirect-scope paragraph, and the "heron specifically" section. New truth: a
pinned-tag consumer must change the
uses:owner toNetis/olympus,keeping the same
@tag(tags travelled with the repo) and keeping.agent-ops.json+agent_ops_refuntil they re-pin to a post-rename tag.consumer v0.2.0: review.yml pr_number input (fix manual-dispatch re-review) #1 (5 pinned wrappers at
@v0.2.0/@v0.3.1). The repoint is trackedin Netis/heron#164.
docs/pantheon.md— mechanism-layer note + acceptance bullet clarified(git/web/API redirect ≠ Actions
uses:).scripts/lint/check-legacy-naming.sh— header comment + theuses:fixmessage no longer claim a redirect.
Context
This lands right after the repo rename
Netis/agent-ops→Netis/olympus. Theself-dogfood loop is unaffected by the rename (self-* workflows use local
uses: ./…+olympus_repo: ${{ github.repository }}); this PR's ownself-guardrun is the live proof of that.Docs/linter-message only — no behavior change.
check-leakage,check-legacy-naming,shellcheck, and thescripts/agent-bot/tests/*suiteall pass locally.
🤖 Generated with Claude Code