From 2eb1f835d192ea9e9638020f11029b3d3018d9e6 Mon Sep 17 00:00:00 2001 From: Leonardo Custodio Date: Thu, 2 Nov 2023 13:12:10 -0300 Subject: [PATCH] Create pr_agent.yml (#46) Signed-off-by: Leonardo Custodio --- .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 0000000..97eaa8f --- /dev/null +++ b/.github/workflows/pr_agent.yml @@ -0,0 +1,21 @@ +name: PR Agent + +on: + pull_request: + issue_comment: + +jobs: + pr_agent_job: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + contents: write + name: Run agent + 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 }}