From 4cbb85f3ad1cc88cc4cd9babadc704376b649feb Mon Sep 17 00:00:00 2001 From: furwellness Date: Tue, 13 Aug 2024 18:21:08 +0200 Subject: [PATCH] added codium pr agent --- .github/workflows/pr_agent.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr_agent.yml diff --git a/.github/workflows/pr_agent.yml b/.github/workflows/pr_agent.yml new file mode 100644 index 000000000..7efeb09d2 --- /dev/null +++ b/.github/workflows/pr_agent.yml @@ -0,0 +1,20 @@ +on: + pull_request: + types: [opened, reopened, ready_for_review] + issue_comment: +jobs: + pr_agent_job: + if: ${{ github.event.sender.type != 'Bot' }} + 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 }} \ No newline at end of file