code change · featurePlatform, DevOps & Performanceofficial - Microsoftreviewed - checked by Opus

#2407 Enable AL-Go for GitHub on GitHub Enterprise Cloud with data residency

AL-Go for GitHub now supports GitHub Enterprise Cloud with dynamic host resolution, automatically using the correct GitHub server and API URLs instead of hardcoded references to github.com.

Pull request · merged into main on 2026-10-22 by freddydk · 27 files (+375 -110), 17 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • Scripts and workflows now use GITHUB_SERVER_URL and GITHUB_API_URL environment variables for all GitHub API calls
  • GH_HOST environment variable is set for gh CLI commands to target the correct host on GitHub Enterprise
  • New scenario guide documents how to use AL-Go for GitHub on GitHub Enterprise, including setup and best practices
  • Template repository download logic improved to construct API URLs correctly for both public GitHub and GitHub Enterprise
  • AL-Go for GitHub workflow explicitly verified to only run on github.com, preventing unsupported usage on GitHub Enterprise for the main repository
  • Behaviour changes for users or extensions.

AL objects touched

  • Actions/AL-Go-Helper.ps1: modified, not in the BC? snapshot
  • Actions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1: modified, not in the BC? snapshot
  • Actions/CheckForUpdates/CheckForUpdates.ps1: modified, not in the BC? snapshot
  • Actions/Deploy/Deploy.psm1: modified, not in the BC? snapshot
  • Actions/DetermineProjectsToBuild/DetermineProjectsToBuild.Action.ps1: modified, not in the BC? snapshot
  • Actions/DetermineProjectsToBuild/DetermineProjectsToBuild.psm1: modified, not in the BC? snapshot
  • Actions/DownloadProjectDependencies/DownloadProjectDependencies.psm1: modified, not in the BC? snapshot
  • Actions/GetArtifactsForDeployment/GetArtifactsForDeployment.ps1: modified, not in the BC? snapshot
  • Actions/GetArtifactsForDeployment/GetArtifactsForDeployment.psm1: modified, not in the BC? snapshot
  • Actions/Github-Helper.psm1: modified, not in the BC? snapshot
  • Actions/PullRequestStatusCheck/PullRequestStatusCheck.ps1: modified, not in the BC? snapshot
  • Actions/VerifyPRChanges/VerifyPRChanges.ps1: modified, not in the BC? snapshot
  • Actions/WorkflowPostProcess/WorkflowPostProcess.ps1: modified, not in the BC? snapshot
  • Templates/AppSource App/.AL-Go/localDevEnv.ps1: modified, not in the BC? snapshot
  • Templates/AppSource App/.github/workflows/CreateRelease.yaml: modified, not in the BC? snapshot
  • Templates/Per Tenant Extension/.AL-Go/localDevEnv.ps1: modified, not in the BC? snapshot
  • Templates/Per Tenant Extension/.github/workflows/CreateRelease.yaml: modified, not in the BC? snapshot

Context

  • Systems: platform, development

Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).