githubnext / githubnext/gh-aw-cao
[dependabot:release-train-updater] create_pull_request reports false 'no changes to commit' error despite valid local commit
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 1
- Avg merge
- 49m
- Merged PRs (30d)
- 837
Description
`create_pull_request` safe output fails with a false "no changes to commit"
error despite a verified, valid local git commit on a fresh branch.
**Action:** A maintainer with access to the safe-outputs runtime should
investigate why `create_pull_request` cannot detect commits that exist
locally — no repository-side fix is available from this workflow's sandbox.
## Evidence (this run)
- Workspace root: `githubnext/gh-aw-cao` (worker, live mode,
correlation_id `34747886137-1366`, control plane run
https://github.com/githubnext/gh-aw-cao/actions/runs/34747886137).
- Branch: `dependabot-agent/dashboard-types-node-patch-20260913084517`,
created from `main` @ `af47fc7f`.
- Commit `09906d1d` present locally, diff scoped to exactly
`dashboard/site/package.json` and `dashboard/site/package-lock.json`
(2 insertions / 2 deletions — `@types/node` `^24.3.0` -> `^24.13.4`,
aligning the manifest range with the version already resolved in the
committed lockfile).
- `git log`, `git diff main --stat`, and `git rev-parse HEAD` all confirm the
commit exists with the expected 2-file diff versus `main` (`af47fc7f`).
- Two `create_pull_request` attempts (with and without an explicit
`base: "main"` and slightly different title formatting) both returned the
identical error:
`{"result":"error","error":"No changes to commit - no commits found",...}`.
- The branch has NOT been pushed by this workflow (no git credentials are
available to the agent sandbox by design); `create_pull_request` is
expected to detect and push the local commit itself.
## Pattern recurrence
This is not an isolated incident. Multiple recent dependency-maintenance
worker runs for this same repository report the identical failure mode or a
closely related one (tool reports success/failure but no PR ever appears on
`githubnext/gh-aw-cao`):
- 2026-09-13-04-42-00: `create_pull_request` failed twice with this exact
"no commits found" error for a validated eslint/``@eslint/js``/globals bump
(branch `dependabot-agent/dashboard-eslint-family-20260913043722`).
- 2026-09-12-20-39-18 / 2026-09-12-21-32-45: at least 13 branches under
`dependabot-agent/*` exist on the remote with no corresponding PR ever
found via `search_pull_requests`, despite prior runs reporting apparent
tool success.
- 2026-09-13-07-38-11 (for `github/gh-aw`, a different but related
environment): `create_pull_request` returned `{"result":"success",...}`
with a real patch/bundle, yet the branch/PR was verified absent from the
target repo in the very next run.
Together these suggest a systemic reliability issue in the `create_pull_request`
safe-output path for this control-plane setup — either in commit detection,
branch materialization, or push delivery — rather than any one-off workflow
prompt or manifest issue.
## What could not be validated
- Whether the branch `dependabot-agent/dashboard-types-node-patch-20260913084517`
or its commit will ever surface as a real PR (no durable evidence available
from this sandboxed run; no git push credentials to check the remote
directly beyond `git ls-remote`, which shows the branch does not exist
remotely as of this run).
Validation performed on the (locally committed, not yet landed) change
- `npm install`, `npm run typecheck`, `npm run lint`, `npm test` in
`dashboard/site/` all pass cleanly (911/911 tests; the one suite that fails
under the full parallel run reproduces identically on unmodified `main`
and passes standalone — pre-existing environment limitation, unrelated).
> Generated by [:dependabot: Dependabot / Release Trains](https://github.com/githubnext/gh-aw-cao/actions/runs/34747886137) · copilot · auto · 199.7 AIC · ⌖ 10 AIC · ⊞ 18.5K · [◷](https://github.com/search?q=repo%3Agithubnext%2Fgh-aw-cao+is%3Aissue+%22gh-aw-workflow-call-id%3A+githubnext%2Fgh-aw-cao%2Fdependabot-release-train-updater%22&type=issues)
>
> - [x] expires on Sep 27, 2026, 8:50 AM UTC
Contributor guide
Research direction
Start at the create_pull_request safe-output runtime and trace commit detection, branch materialization, and push delivery using the documented run and repeated attempts. Compare the local commit and git diff against the tool result; the work is done when a validated local commit reliably produces a remote branch and pull request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github, github-actions
- Domain
- ci-cd, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100