Skip to content

PR Review

PR Review #540

Workflow file for this run

name: PR Review
on:
issue_comment:
types: [created]
workflow_run:
workflows: ["PR Review - Trigger"]
types: [completed]
permissions:
contents: read
jobs:
review:

Check failure on line 13 in .github/workflows/pr-review.yml

View workflow run for this annotation

GitHub Actions / PR Review

Invalid workflow file

The workflow is not valid. .github/workflows/pr-review.yml (Line: 13, Col: 3): Error calling workflow 'docker/docker-agent-action/.github/workflows/review-pr.yml@baf90543d81f5de59751dfd10e6cf45e21a5a982'. The nested job 'review' is requesting 'actions: write', but is only allowed 'actions: read'.
uses: docker/docker-agent-action/.github/workflows/review-pr.yml@baf90543d81f5de59751dfd10e6cf45e21a5a982 # v2.0.3
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: read # Download artifacts from trigger workflow
with:
trigger-run-id: ${{ github.event_name == 'workflow_run' && format('{0}', github.event.workflow_run.id) || '' }}