diff --git a/.github/workflows/pr-agent.yaml b/.github/workflows/pr-agent.yaml new file mode 100644 index 00000000..ec7ef893 --- /dev/null +++ b/.github/workflows/pr-agent.yaml @@ -0,0 +1,18 @@ +on: + pull_request: + issue_comment: +jobs: + pr_agent_job: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + contents: write + name: Run pr agent on every pull request, respond to user comments + steps: + - name: PR Agent action step + id: pragent + uses: Codium-ai/pr-agent@main + env: + OPENAI_KEY: ${{ secrets.OPENAI_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}