diff --git a/README.md b/README.md index 62bb1929..f1f958ef 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,13 @@ To teach your AI coding agent the CLI: gh skill install github/gh-actions-lock ``` +On GHE.com, `gh` looks the shorthand up on your tenant, so install from the full URL instead: + +```bash +gh extension install https://github.com/github/gh-actions-lock +gh skill install https://github.com/github/gh-actions-lock +``` + ## Quickstart From the repository checkout: diff --git a/skills/gh-actions-lock/SKILL.md b/skills/gh-actions-lock/SKILL.md index dd69f44f..177c4038 100644 --- a/skills/gh-actions-lock/SKILL.md +++ b/skills/gh-actions-lock/SKILL.md @@ -26,6 +26,9 @@ Requires an authenticated GitHub CLI. github.com and GitHub Enterprise Cloud wit gh extension install github/gh-actions-lock ``` +On GHE.com, `gh` looks the shorthand up on the tenant, so install from the full URL instead: +`gh extension install https://github.com/github/gh-actions-lock`. + Run every command from the repository checkout. The host comes from `--hostname`, then `GH_HOST`, then the repository remote, then github.com.