mirror of
https://github.com/docker/cli.git
synced 2026-09-27 01:40:31 -04:00
gha: Grant PR review permissions required by v2.0.3
`docker-agent-action` v2.0.3 requires callers of its reusable PR review workflow to grant `actions: write` for review-lock cache cleanup and feedback artifacts. Earlier releases required only `actions: read`. See: https://github.com/docker/docker-agent-action#pr-review-workflow Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@@ -18,6 +18,6 @@ jobs:
|
||||
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
|
||||
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) || '' }}
|
||||
|
||||
Reference in New Issue
Block a user