Merge pull request #7069 from docker-agent/auto/migrate-to-docker-agent-action

chore: migrate cagent-action to docker-agent-action (v2.0.0)
This commit is contained in:
Sebastiaan van Stijn
2026-06-25 22:05:29 +02:00
committed by GitHub
2 changed files with 1 additions and 15 deletions
-6
View File
@@ -9,12 +9,6 @@ permissions: {}
jobs:
save-context:
if: >
github.event.comment.user.login != 'docker-agent' &&
github.event.comment.user.login != 'docker-agent[bot]' &&
github.event.comment.user.type != 'Bot' &&
!contains(github.event.comment.body, '<!-- cagent-review -->') &&
!contains(github.event.comment.body, '<!-- cagent-review-reply -->')
runs-on: ubuntu-latest
steps:
- name: Save event context
+1 -9
View File
@@ -11,15 +11,7 @@ permissions:
jobs:
review:
if: |
(github.event_name == 'issue_comment' &&
github.event.comment.user.login != 'docker-agent' &&
github.event.comment.user.login != 'docker-agent[bot]' &&
github.event.comment.user.type != 'Bot' &&
!contains(github.event.comment.body, '<!-- cagent-review -->') &&
!contains(github.event.comment.body, '<!-- cagent-review-reply -->')) ||
github.event.workflow_run.conclusion == 'success'
uses: docker/cagent-action/.github/workflows/review-pr.yml@367a30ddb41e0156459d03750f508eac03f3c38a # v1.5.5
uses: docker/docker-agent-action/.github/workflows/review-pr.yml@e96a4bb40cac114f64358621e1d08346c8eadc8c # v2.0.1
permissions:
contents: read # Read repository files and PR diffs
pull-requests: write # Post review comments