-
Notifications
You must be signed in to change notification settings - Fork 46
fix: update repository references from githubnext to github #13365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pelikhan
commented
Feb 3, 2026
- Corrected repository references in tests and code to use "github/gh-aw" instead of "githubnext/gh-aw".
- Updated error messages and documentation to reflect the new repository format.
- Ensured consistency across all instances where the repository slug was previously referenced.
- Corrected repository references in tests and code to use "github/gh-aw" instead of "githubnext/gh-aw". - Updated error messages and documentation to reflect the new repository format. - Ensured consistency across all instances where the repository slug was previously referenced.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates hard-coded references to the gh‑aw extension and related repositories from the old githubnext organization to the new canonical github organization, and aligns tests, error messages, and workflows with that move.
Changes:
- Switched the core
GitHubOrgRepoconstant and all associated action references, CLI commands, and GH Actions workflows fromgithubnext/gh-awtogithub/gh-aw. - Updated validation logic, error messages, and spec parsing tests so repository format examples and expectations use
github/gh-aw(and related trial repos) consistently. - Adjusted MCP setup/gateway templates and documentation snippets to use the new
github/gh-aw/ghcr.io/github/*image locations, while keeping behavior otherwise unchanged.
Reviewed changes
Copilot reviewed 43 out of 43 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pkg/workflow/script_registry.go | Updated documentation comment example action reference to use github/gh-aw/.github/actions/create-issue@SHA. |
| pkg/workflow/schedule_preprocessing_test.go | Adjusted schedule scattering test case and result key to use repository slug github/gh-aw instead of githubnext/gh-aw. |
| pkg/workflow/repository_features_validation_test.go | Updated feature validation tests (discussions/issues) to use github/gh-aw in both repo variables and assertion messages. |
| pkg/workflow/repository_features_validation_integration_test.go | Updated integration test expectation to treat github/gh-aw as the repo that must have issues enabled. |
| pkg/workflow/repository_features_validation.go | Changed invalid-format error example from githubnext/gh-aw to github/gh-aw. |
| pkg/workflow/repository_error_messages_test.go | Updated repository format error message tests to expect Example: github/gh-aw. |
| pkg/workflow/mcp_setup_generator.go | Changed the generated GH Actions install script to look for and install the gh‑aw extension from github/gh-aw. |
| pkg/workflow/mcp_gateway_config.go | Updated comments to document the MCP gateway container default as github/gh-aw-mcpg rather than the old org. |
| pkg/workflow/local_action_permissions_test.go | Updated release‑mode permission test to assert use of github/gh-aw/actions/setup@v1.0.0 and corresponding error message. |
| pkg/workflow/compiler_yaml_helpers.go | Updated script‑mode checkout configuration and documentation to use repository github/gh-aw for the .github folder. |
| pkg/workflow/compiler_custom_actions_test.go | Updated custom action compiler test expectations to look for repository: github/gh-aw in the generated lock file. |
| pkg/workflow/codex_logs_test.go | Updated codex log fixture lines to reference repo:github/gh-aw in search_pull_requests calls. |
| pkg/workflow/agentic_workflow_test.go | Updated agentic workflow tests to assert gh extension install github/gh-aw in generated install steps. |
| pkg/workflow/action_sha_checker.go | Removed the verbose‑mode console info message when all actions are up to date; logging still happens via actionSHACheckerLog. |
| pkg/workflow/action_reference_test.go | Updated all expected action reference strings (convert/resolve functions) to use github/gh-aw/... instead of githubnext/gh-aw/.... |
| pkg/workflow/action_reference.go | Changed the central GitHubOrgRepo constant and related documentation comments to github/gh-aw, affecting all generated remote action references. |
| pkg/workflow/action_pins_test.go | Updated pin‑warning deduplication test to use github/gh-aw/actions/setup as the example repo. |
| pkg/repoutil/repoutil_test.go | Updated slugs/URLs/benchmarks to use github/gh-aw, but left some expectations (owner in split/parse tests and sanitized filename) as githubnext, which no longer match the new slug and will cause test failures (comments added). |
| pkg/cli/update_extension_check.go | Updated extension update checks to run gh extension upgrade github/gh-aw --dry-run and suggest gh extension upgrade github/gh-aw to users. |
| pkg/cli/update_check.go | Updated CLI upgrade suggestion message to use gh extension upgrade github/gh-aw. |
| pkg/cli/trial_repository.go | Updated invalid repository slug error example to github/gh-aw. |
| pkg/cli/trial_issue_mode_test.go | Updated trial workflow spec parsing test to use github/gh-aw-trial for spec and expected repo. |
| pkg/cli/templates/create-shared-agentic-workflow.md | Updated the example MCP server configuration to use container ghcr.io/github/serena-mcp-server. |
| pkg/cli/spec_test.go | Updated TestParseWorkflowSpec cases to expect github/gh-aw-trial and github/gh-aw for URLs and /files/ forms pointing at this repo. |
| pkg/cli/spec_github_url_test.go | Updated parseGitHubURL tests to expect github/gh-aw-trial and github/gh-aw for trial and raw.githubusercontent.com URLs. |
| pkg/cli/spec.go | Updated parseRepoSpec invalid-format example from githubnext/gh-aw to github/gh-aw. |
| pkg/cli/repo_error_messages_test.go | Updated repo slug error message tests to expect Example: github/gh-aw. |
| pkg/cli/repo.go | Updated invalid current repo slug error example from githubnext/gh-aw to github/gh-aw. |
| pkg/cli/mcp_validation.go | Updated MCP validation error/help text to suggest gh extension install github/gh-aw for installing the extension. |
| pkg/cli/logs_parsing_test.go | Updated log parsing fixtures to mention github/gh-aw repository slugs in codex and aw_info JSON examples. |
| pkg/cli/git_helpers_test.go | Updated git URL parsing tests to expect repo slug github/gh-aw instead of githubnext/gh-aw. |
| pkg/cli/copilot_setup_test.go | Updated workflow YAML fixtures and tests to use github/gh-aw/actions/setup-cli@... as the extension setup action reference. |
| pkg/cli/copilot_setup.go | Updated injected/copied workflow templates and upgrade logic to use github/gh-aw/actions/setup-cli instead of githubnext/gh-aw/actions/setup-cli. |
| .github/workflows/smoke-copilot.lock.yml | Updated workflow to check for and install gh‑aw extension from github/gh-aw. |
| .github/workflows/security-review.lock.yml | Same as above: install/upgrade gh‑aw extension from github/gh-aw. |
| .github/workflows/python-data-charts.lock.yml | Same as above: extension installation now uses github/gh-aw. |
| .github/workflows/metrics-collector.lock.yml | Same as above: extension installation now uses github/gh-aw. |
| .github/workflows/example-workflow-analyzer.lock.yml | Same as above: extension installation now uses github/gh-aw. |
| .github/workflows/daily-observability-report.lock.yml | Same as above: extension installation now uses github/gh-aw. |
| .github/workflows/daily-fact.lock.yml | Updated all uses: githubnext/gh-aw/actions/setup@... references to uses: github/gh-aw/actions/setup@.... |
| .github/workflows/agent-persona-explorer.lock.yml | Same extension install block updated to github/gh-aw. |
| .github/workflows/agent-performance-analyzer.lock.yml | Same extension install block updated to github/gh-aw. |
| .github/aw/create-shared-agentic-workflow.md | Updated the agentic workflow authoring docs to use ghcr.io/github/serena-mcp-server as the example container image. |
Comments suppressed due to low confidence (2)
pkg/repoutil/repoutil_test.go:85
- In this SSH URL test case, the URL now uses "github/gh-aw" but the expected owner remains "githubnext". ParseGitHubURL delegates to SplitRepoSlug on the URL path, so the expected owner should be updated to "github" to stay consistent with the new repository slug.
name: "SSH format with .git",
url: "git@github.com:github/gh-aw.git",
expectedOwner: "githubnext",
expectedRepo: "gh-aw",
pkg/repoutil/repoutil_test.go:158
- Here the input slug was changed to "github/gh-aw" but the expected sanitized filename remains "githubnext-gh-aw". SanitizeForFilename replaces "/" with "-", so the expected value for this case should now be "github-gh-aw" to align with the updated slug.
name: "normal slug",
slug: "github/gh-aw",
expected: "githubnext-gh-aw",
},
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| name: "valid slug", | ||
| slug: "githubnext/gh-aw", | ||
| slug: "github/gh-aw", | ||
| expectedOwner: "githubnext", |
Copilot
AI
Feb 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After updating the test slug to "github/gh-aw", the expected owner is still set to "githubnext". Since SplitRepoSlug simply splits the slug on "/", this case should now expect owner "github" to match the new slug.
This issue also appears in the following locations of the same file:
- line 82
- line 155
| expectedOwner: "githubnext", | |
| expectedOwner: "github", |