Skip to content

fix: correct repo reference in update-docker-agent-version workflow#3

Merged
Sayt-0 merged 3 commits into
docker:mainfrom
derekmisler:fix/update-version-workflow-repo-ref
Jun 16, 2026
Merged

fix: correct repo reference in update-docker-agent-version workflow#3
Sayt-0 merged 3 commits into
docker:mainfrom
derekmisler:fix/update-version-workflow-repo-ref

Conversation

@derekmisler

Copy link
Copy Markdown
Collaborator

Summary

The signed-commit step in .github/workflows/update-docker-agent-version.yml was referencing docker/cagent-action instead of docker/docker-agent-action. This was a copy-paste artifact from when the workflow was copied from the cagent-action repo.

As a result, any version-bump PR triggered by this workflow would be created in the wrong repository (docker/cagent-action) rather than in this repo (docker/docker-agent-action).

Change

-            --repo docker/cagent-action \
+            --repo docker/docker-agent-action \

The signed-commit step was referencing docker/cagent-action instead of
docker/docker-agent-action. This was a copy-paste artifact from when the
workflow was copied from cagent-action, causing the version-bump PR to
be created in the wrong repository.

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This single-line fix correctly changes the --repo argument in the signed-commit step from docker/cagent-action to docker/docker-agent-action. The change is accurate — without it, the automated version-bump commits would be written to the wrong (old) repository. No logic errors, security issues, or other problems are introduced.

@derekmisler derekmisler marked this pull request as ready for review June 16, 2026 13:35

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This is a targeted, correct fix. The --repo flag in the signed-commit step was pointing to docker/cagent-action (the old repo name) instead of docker/docker-agent-action (the canonical target). The change is accurate: docker/docker-agent-action matches the repository's own identity and the stated migration goal.

The rest of the workflow was also checked — the only remaining docker/cagent-action reference is the pinned uses: docker/cagent-action/setup-credentials@… composite action, which is intentionally still pointing at the old repo (that migration is out of scope for this PR).

No issues found. ✅

… workflow

The gh pr list, gh pr edit, and gh pr create commands were missing the
--repo docker/docker-agent-action flag. Without it, gh cannot detect the
repo due to the authenticating proxy rewriting remote URLs, causing these
commands to fail at runtime.
@Sayt-0 Sayt-0 merged commit d304466 into docker:main Jun 16, 2026
18 checks passed
@Sayt-0 Sayt-0 deleted the fix/update-version-workflow-repo-ref branch June 16, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants