fix: restore repository: github/gh-aw in dev mode checkout step#20791
Merged
fix: restore repository: github/gh-aw in dev mode checkout step#20791
repository: github/gh-aw in dev mode checkout step#20791Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
March 13, 2026 12:58
View session
Contributor
|
@copilot recompile |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Done — recompiled all 168 workflow lock files in 67bf76d. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
pelikhan
approved these changes
Mar 13, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Restores repository: github/gh-aw in the dev-mode “Checkout actions folder” step so cross-repo callers correctly sparse-check out the actions/ directory from the gh-aw repo (fixing CI failures caused by defaulting to the caller’s repo).
Changes:
- Add
repository: github/gh-awto the dev-mode checkout step emitted bygenerateCheckoutActionsFolder. - Regenerate/update workflow
.lock.ymlfiles so their “Checkout actions folder” steps includerepository: github/gh-aw.
Reviewed changes
Copilot reviewed 168 out of 168 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pkg/workflow/compiler_yaml_helpers.go | Ensures dev-mode checkout targets github/gh-aw so ./actions/* exists in cross-repo executions. |
| .github/workflows/*.lock.yml | Updates generated lock workflows to include repository: github/gh-aw in “Checkout actions folder” steps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
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.
Summary
PR #20775 accidentally removed
repository: github/gh-awfrom the dev modeCheckout actions folderstep ingenerateCheckoutActionsFolder. This broke 4 tests in CI run 23051084660.Root Cause
In
pkg/workflow/compiler_yaml_helpers.go, the dev mode branch was missingrepository: github/gh-aw:Fix
Restored
repository: github/gh-awto the dev mode checkout step. This is required so cross-repo callers (e.g. event-driven relays) can find theactions/directory — without it, the runner defaults to the caller's repo which has noactions/directory, causing Setup Scripts to fail immediately (fix for #20658).Tests Fixed
TestCheckoutActionsFolderDevModeHasRepository— explicitly verifies dev mode includesrepository: github/gh-awTestWasmGolden_CompileFixtures/basic-copilotTestWasmGolden_CompileFixtures/smoke-copilotTestWasmGolden_CompileFixtures/with-importsNo golden file changes needed — they already contained the correct expected output.