Skip to content

Commit

Permalink
Update pr-agent.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrT23 authored Jan 2, 2025
1 parent 007e677 commit 41f9508
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .github/workflows/pr-agent.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,28 @@
# This workflow enables developers to call PR-Agents `/[actions]` in PR's comments and upon PR creation.
# Learn more at https://www.codium.ai/pr-agent/
# This is v0.2 of this workflow file

name: PR-Agent
name: Qode Merge PR-Agent (OpenAI)

on:
workflow_dispatch:
pull_request:
types: [ opened, reopened, ready_for_review ]
issue_comment:
pull_request_review_comment:

permissions:
issues: write
pull-requests: write

jobs:
pr_agent_job:
if: ${{ github.event.sender.type != 'Bot' }}
runs-on: ubuntu-latest
name: Run pr agent on every pull request
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 }}
OPENAI_ORG: ${{ secrets.OPENAI_ORG }} # optional
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTION.AUTO_DESCRIBE: true
GITHUB_ACTION.AUTO_REVIEW: true
GITHUB_ACTION.AUTO_IMPROVE: true
PR_CODE_SUGGESTIONS.SUMMARIZE: true
github_action_config.auto_review: "true" # enable\disable auto review
github_action_config.auto_describe: "true" # enable\disable auto describe
github_action_config.auto_improve: "true" # enable\disable auto improve
github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "review_requested"]'


Expand Down

0 comments on commit 41f9508

Please sign in to comment.