From f8912d23c7fbf3063bd09bdda1dfa39a33ae08d1 Mon Sep 17 00:00:00 2001 From: Jeff Martin Date: Thu, 19 Nov 2026 14:31:10 -0800 Subject: [PATCH 1/2] Install from the full URL so GHE.com users get github.com The short OWNER/REPO form resolves against gh's default host, so users signed in only to a *.ghe.com tenant got "Could not find extension". The full URL works for every default host. Fixes #308 --- README.md | 6 ++++-- skills/gh-actions-lock/SKILL.md | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 62bb1929..54794325 100644 --- a/README.md +++ b/README.md @@ -7,15 +7,17 @@ A [GitHub CLI](https://cli.github.com/) extension that pins every direct and tra Requires an authenticated `gh`. github.com and GitHub Enterprise Cloud with data residency (`*.ghe.com`) are supported; GitHub Enterprise Server is not. ```bash -gh extension install github/gh-actions-lock +gh extension install https://github.com/github/gh-actions-lock ``` To teach your AI coding agent the CLI: ```bash -gh skill install github/gh-actions-lock +gh skill install https://github.com/github/gh-actions-lock ``` +The full URL makes `gh` fetch from github.com even when your default host is a `*.ghe.com` tenant. + ## Quickstart From the repository checkout: diff --git a/skills/gh-actions-lock/SKILL.md b/skills/gh-actions-lock/SKILL.md index dd69f44f..46e68473 100644 --- a/skills/gh-actions-lock/SKILL.md +++ b/skills/gh-actions-lock/SKILL.md @@ -23,9 +23,12 @@ Requires an authenticated GitHub CLI. github.com and GitHub Enterprise Cloud wit (`*.ghe.com`) are supported; GitHub Enterprise Server is not. ```bash -gh extension install github/gh-actions-lock +gh extension install https://github.com/github/gh-actions-lock ``` +Use the full URL: the short `github/gh-actions-lock` form resolves against `gh`'s default host, +which fails when that host is a `*.ghe.com` tenant. + Run every command from the repository checkout. The host comes from `--hostname`, then `GH_HOST`, then the repository remote, then github.com. From 8f836f50dd581ad52808e9ec0c33b87807fe6a06 Mon Sep 17 00:00:00 2001 From: Jeff Martin Date: Thu, 19 Nov 2026 14:48:03 -0800 Subject: [PATCH 2/2] Lead with the shorthand install and give GHE.com the full URL --- README.md | 11 ++++++++--- skills/gh-actions-lock/SKILL.md | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 54794325..f1f958ef 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,21 @@ A [GitHub CLI](https://cli.github.com/) extension that pins every direct and tra Requires an authenticated `gh`. github.com and GitHub Enterprise Cloud with data residency (`*.ghe.com`) are supported; GitHub Enterprise Server is not. ```bash -gh extension install https://github.com/github/gh-actions-lock +gh extension install github/gh-actions-lock ``` To teach your AI coding agent the CLI: ```bash -gh skill install https://github.com/github/gh-actions-lock +gh skill install github/gh-actions-lock ``` -The full URL makes `gh` fetch from github.com even when your default host is a `*.ghe.com` tenant. +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 diff --git a/skills/gh-actions-lock/SKILL.md b/skills/gh-actions-lock/SKILL.md index 46e68473..177c4038 100644 --- a/skills/gh-actions-lock/SKILL.md +++ b/skills/gh-actions-lock/SKILL.md @@ -23,11 +23,11 @@ Requires an authenticated GitHub CLI. github.com and GitHub Enterprise Cloud wit (`*.ghe.com`) are supported; GitHub Enterprise Server is not. ```bash -gh extension install https://github.com/github/gh-actions-lock +gh extension install github/gh-actions-lock ``` -Use the full URL: the short `github/gh-actions-lock` form resolves against `gh`'s default host, -which fails when that host is a `*.ghe.com` tenant. +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.