Use this guide when asked to integrate PR Agent into a GitHub repository.
true.Create .github/workflows/pr-agent.yml:
name: PR Agent
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: write
pull-requests: write
jobs:
agent:
uses: zc6600/agentic-swe/.github/workflows/pr-agent.yml@main
with:
validation-command: npm test
secrets:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
PR_AGENT_TOKEN: ${{ secrets.PR_AGENT_TOKEN }}Replace npm test with the command found in the repository. Keep the explicit secret mappings and the reusable workflow’s same-repository guard.
OPENROUTER_API_KEY and PR_AGENT_TOKEN in repository Actions settings.Parse the workflow YAML and run the repository’s relevant configuration checks. Report the workflow path, selected validation command, and the human-only settings that remain.