diff --git a/.github/workflows/pr_agent.yml b/.github/workflows/pr_agent.yml new file mode 100644 index 0000000..33e940d --- /dev/null +++ b/.github/workflows/pr_agent.yml @@ -0,0 +1,23 @@ +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: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CONFIG.MODEL: llama3-70b-8192 + CONFIG.MODEL_TURBO: llama3-70b-8192 + CONFIG.FALLBACK_MODELS: 'groq/llama3-70b-8192' + GROQ.KEY: ${{ secrets.GROQ_KEY }} \ No newline at end of file