name: PR Review on: issue_comment: types: [created] workflow_run: workflows: ["PR Review - Trigger"] types: [completed] permissions: contents: read jobs: review: uses: docker/docker-agent-action/.github/workflows/review-pr.yml@3654ec391b070e247de2e2e3c1ff2519b6378b3a # v2.0.9 permissions: contents: read # Read repository files and PR diffs pull-requests: write # Post review comments issues: write # Create security incident issues if secrets detected checks: write # (Optional) Show review progress as a check run id-token: write # Required for OIDC authentication to AWS Secrets Manager actions: write # Required since v2.0.3 — review-lock cache cleanup and feedback artifacts with: trigger-run-id: ${{ github.event_name == 'workflow_run' && format('{0}', github.event.workflow_run.id) || '' }}