githubnext / githubnext/gh-aw-test
Suggested test: copilot/siderepo-push-to-pull-request-branch-wildcard-repo
- Dominant language
- Shell
- Stars
- 8
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
## Motivation
github/gh-aw#49813 — `push_to_pull_request_branch` gained an explicit `repo` (`owner/repo`) input for disambiguating wildcard (`target: "*"`) targets in multi-repo workflows, since branch resolution previously failed when the PR branch existed only in a side checkout.
## Proposed test
- **Workflow file**: `test-copilot-siderepo-push-to-pull-request-branch-wildcard-repo.md`
- **Trigger**: `workflow_dispatch`
- **Engine**: copilot
- **Safe output**: `push_to_pull_request_branch` with `target: "*"` and explicit `repo` field
- **Variant**: siderepo (justified: exercises multi-repo wildcard target disambiguation, requires a side checkout)
## Minimal test prompt sketch
Checkout both the main repo and `githubnext/gh-aw-side-repo`, open (or reuse) a PR branch in the side repo, then call `push_to_pull_request_branch` with `target: "*"` and `repo: githubnext/gh-aw-side-repo` so the tool must use the new `repo` field to resolve the correct checkout instead of falling back to `GITHUB_WORKSPACE`.
## New fixtures or secrets needed
None — reuses existing `githubnext/gh-aw-side-repo` fixture.
## Notes
Existing `test-copilot-siderepo-push-to-pull-request-branch-using-dispatch` is currently failing (see fails.txt) and does not exercise the wildcard `target: "*"` + explicit `repo` disambiguation path added in #49813; this is a distinct scenario, not a duplicate of that failure.
> Generated by [🔍 Suggest New E2E Tests](https://github.com/githubnext/gh-aw-test/actions/runs/30802419698) · auto · 27.9 AIC · ⌖ 6.91 AIC · ⊞ 8.3K · [◷](https://github.com/search?q=repo%3Agithubnext%2Fgh-aw-test+is%3Aissue+%22gh-aw-workflow-call-id%3A+githubnext%2Fgh-aw-test%2Fsuggest-new-e2e-tests%22&type=issues)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.