mirror of
https://github.com/docker/cli.git
synced 2026-08-24 10:05:37 -05:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user