From 057544220109957d3990951e59ca6bf73fc0d000 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Wed, 16 Aug 2023 12:40:00 +0200 Subject: [PATCH] Added PR Agent --- .github/workflows/pr_agent.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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 00000000..808f921e --- /dev/null +++ b/.github/workflows/pr_agent.yml @@ -0,0 +1,21 @@ +name: PR Agent Workflow + +permissions: + issues: write + pull-requests: write + +on: + pull_request: + issue_comment: +jobs: + pr_agent_job: + permissions: write-all + runs-on: ubuntu-latest + 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_API_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file