Skip to content

chore: update docker-agent-action to v2.0.4 - #86

Merged
derekmisler merged 2 commits into
mainfrom
auto/update-docker-agent-action
Aug 19, 2026
Merged

chore: update docker-agent-action to v2.0.4#86
derekmisler merged 2 commits into
mainfrom
auto/update-docker-agent-action

Conversation

@docker-agent

Copy link
Copy Markdown
Contributor

Summary

Updates docker-agent-action reference in pr-review.yml to v2.0.4.

  • Commit: b08367e7e9a471822464be2bb9fdaa1c0fb6061b
  • Version: v2.0.4

Auto-generated by the release workflow.

@derekmisler
derekmisler merged commit c8e46f2 into mainAug 19, 2026
8 checks passed
@derekmisler
derekmisler deleted the auto/update-docker-agent-action branch August 19, 2026 15:50
Sayt-0 added a commit that referenced this pull request Aug 25, 2026
## Summary
The first live dry run of `update-consumers.yml` (run
[32826389044](https://github.com/docker/docker-agent-action/actions/runs/32826389044),
after #92) discovered the action repo itself as a consumer and showed a
diff that would have mangled the workflow's own discovery query. This PR
excludes the action repos from discovery.
| | |
|---|---|
| Cause | the code-search query inside `update-consumers.yml` contains
`docker/docker-agent-action/.github/workflows/review-pr.yml@` as a
literal string, so the repo matches its own search |
| Why latent until now | while the repo still had a `pr-review.yml`
caller, `unique_by(.repo)` picked that file (updated by #86 and earlier
releases); since the rename to `self-review-pr.yml`, which calls the
reusable workflow via a local ref (`uses:
./.github/workflows/review-pr.yml`, no `@`), the only remaining match in
the repo is the query string itself |
| Impact if executed for real | a self-addressed PR rewriting the query
line (quote, filters and line continuation destroyed), breaking the
workflow |
| Handled by | dropping `^docker/(docker-agent-action|cagent-action) `
lines right after discovery, mirroring the migrate-consumers guard;
`cagent-action` is excluded too since it holds a copy of these workflows
|
## Dry-run evidence
```
Processing docker/docker-agent-action (.github/workflows/update-consumers.yml)...
DRY RUN - route: direct; diff that would be committed:
- -f q='org:docker "docker/docker-agent-action/.github/workflows/review-pr.yml@" language:YAML path:.github/workflows' \
+ -f q='org:docker "docker/docker-agent-action/.github/workflows/review-pr.yml@06e1767 # v2.0.5
```
No writes were performed (dry run). The rest of the run was nominal: 49
repos routed (17 direct / 29 fork / 3 skip), 33 consumers flagged for
the `actions: read` to `write` caller bump.
## Validation
| Check | Result |
|---|---|
| actionlint, `bash -n` on the extracted step script | clean |
| harness with the action repos injected into the fake search results |
self repos never cloned nor processed; direct/fork/skip routing
regression intact in both dry-run and execute modes |
Sign up for freeto 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

@docker-agent@derekmisler@Sayt-0