From 3a5a63d9f304ec2d12acbe320185d64129037c46 Mon Sep 17 00:00:00 2001 From: Justin Alex <1155821+jusuchin85@users.noreply.github.com> Date: Tue, 7 Oct 2025 08:03:19 +0800 Subject: [PATCH 1/2] [Improvement] Update `https://api.octocorp.ghe.com` to a more generic `https://api.{subdomain}.ghe.com` example (#57788) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> --- .../enterprise-migration-tool/set-target-api-url.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/data/reusables/enterprise-migration-tool/set-target-api-url.md b/data/reusables/enterprise-migration-tool/set-target-api-url.md index ca68ddd491ba..42a3103ccacb 100644 --- a/data/reusables/enterprise-migration-tool/set-target-api-url.md +++ b/data/reusables/enterprise-migration-tool/set-target-api-url.md @@ -3,13 +3,18 @@ * If you're using Terminal, use the `export` command. ```shell copy - export TARGET_API_URL="https://api.{% data variables.enterprise.data_residency_example_domain %}" + export TARGET_API_URL="https://api.SUBDOMAIN.ghe.com" ``` * If you're using PowerShell, use the `$env` command. ```shell copy - $env:TARGET_API_URL="https://api.{% data variables.enterprise.data_residency_example_domain %}" + $env:TARGET_API_URL="https://api.SUBDOMAIN.ghe.com" ``` + > [!IMPORTANT] + > Ensure to replace `SUBDOMAIN` with your enterprise's subdomain. + > + > For example, if your enterprise's subdomain is `acme`, the `TARGET_API_URL` value would be `https://api.acme.ghe.com`. + You'll use this variable with the `--target-api-url` option in commands you run with the {% data variables.product.prodname_cli %}. From 9a1bead6723ee3914fb9be8d9163c05c0b31ab49 Mon Sep 17 00:00:00 2001 From: Robert Sese <734194+rsese@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:07:20 -0700 Subject: [PATCH 2/2] back to direct comparison behavior for now (#57823) --- .github/actions/get-changed-files/get-changed-files.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/get-changed-files/get-changed-files.sh b/.github/actions/get-changed-files/get-changed-files.sh index a2f49f8b0d93..c9e25549f1de 100755 --- a/.github/actions/get-changed-files/get-changed-files.sh +++ b/.github/actions/get-changed-files/get-changed-files.sh @@ -18,9 +18,8 @@ git fetch --depth=1 origin main git fetch --depth=1 origin ${INPUT_HEAD:-HEAD} # Get diff with status information -# Find the merge-base (common ancestor) instead of using origin/main directly echo "__ running git diff with status __" -DIFF_OUTPUT=$(git diff --name-status origin/main...origin/${INPUT_HEAD:-HEAD}) +DIFF_OUTPUT=$(git diff --name-status origin/main origin/${INPUT_HEAD:-HEAD}) # Function to extract files by pattern from diff output extract_files() {