Skip to content

Commit

Permalink
feat: Add pr_agent.yml workflow for pull requests and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cauliyang committed Sep 2, 2023
1 parent ffb69c7 commit ff6e57b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pr_agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
pull_request:
issue_comment:

jobs:
pr_agent_job:
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 }}

0 comments on commit ff6e57b

Please sign in to comment.