-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathaction.yaml
More file actions
23 lines (23 loc) 路 962 Bytes
/
Copy pathaction.yaml
File metadata and controls
23 lines (23 loc) 路 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: 'The PR Agent'
description: 'Summarize, review and suggest improvements for pull requests'
branding:
icon: 'award'
color: 'green'
inputs:
artifact_path:
description: 'Path to a CI artifact file (relative to GITHUB_WORKSPACE or absolute) to include as extra context in PR analysis. Leave empty to disable artifact injection.'
required: false
default: ''
artifact_instructions:
description: 'Custom instructions telling the AI how to interpret the artifact. Leave empty for a sensible default.'
required: false
default: ''
runs:
using: 'docker'
# Pin this wrapper with an action commit SHA; pin its rolling github_action
# runtime image separately with docker://pragent/pr-agent@sha256:<digest>.
# Follow SECURITY.md#enhanced-security-with-docker-digest.
image: 'Dockerfile.github_action_dockerhub'
env:
ARTIFACT_PATH: ${{ inputs.artifact_path }}
ARTIFACT_INSTRUCTIONS: ${{ inputs.artifact_instructions }}