Repository navigation
E2E tests run on private repos - #2469
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The private Actions repository is inaccessible to fixture workflows unless cross-repository Actions access is configured, and GHTOKENWORKFLOW does not authorize action-reference resolution.
What changed in this PR
This PR moves AL-Go’s end-to-end tests to private temporary repositories while keeping normal template publication public.
Changes:
- Default test repositories to private and add private template deployment support.
- Authenticate template downloads and provision workflow credentials before the first push.
- Add focused tests and document private-repository prerequisites.
| File | Description |
|---|---|
| Tests/E2ETestHelper.Test.ps1 | Tests private creation, authentication, secret provisioning, and deployment. |
| Scenarios/Contribute.md | Documents private E2E setup and access requirements. |
| Internal/Deploy.ps1 | Adds an optional private deployment switch. |
| e2eTests/Test-AL-Go.ps1 | Defaults to private repositories and passes workflow credentials. |
| e2eTests/Test-AL-Go-Upgrade.ps1 | Uses private upgrade fixtures and workflow credentials. |
| e2eTests/SetupRepositories.ps1 | Deploys private templates and checks Actions-disable failures. |
| e2eTests/scenarios/WorkspaceCompilation/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/UseProjectDependencies/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/SpecialCharacters/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/SeparateTestAction/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/ReleaseBranches/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/ReferenceDocumentation/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/PowerPlatform/runtest.ps1 | Passes workflow credentials for each fixture. |
| e2eTests/scenarios/IncrementalBuilds/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/IncludeDependencies/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/GitHubPackages/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/FederatedCredentials/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/CustomTemplate/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/CopilotCodeReview/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/BuildModes/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/scenarios/BCApps/runtest.ps1 | Passes workflow credentials during setup. |
| e2eTests/e2eTestHelper.psm1 | Adds private defaults, authenticated downloads, cleanup, and pre-push secrets. |
Review effort: Balanced
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
A live E2E run in the target organization is needed because mocked tests cannot verify private Actions sharing, cross-repository authentication, or anonymous Pages access under its policies.
No open issues 🎉
1 resolved since last review
Review effort: Balanced
Maria Zhelezova (mazhelez)
approved these changes
Nov 23, 2026
Alexander Holstrup (aholstrup1)
approved these changes
Nov 25, 2026
spetersenms
enabled auto-merge (squash)
November 25, 2026 09:14
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, Why & How
Updating E2E tests to run on private temp repos instead of public temp repos.