Skip to content

Commit

Permalink
Add an action for an AI Pull Request helper
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Kulikauskas <[email protected]>
  • Loading branch information
JustinKuli committed May 4, 2024
1 parent 74b724a commit 3a429f4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pr_agent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
pull_request:
types: [opened, reopened, ready_for_review]
issue_comment:

Check failure on line 4 in .github/workflows/pr_agent.yaml

View workflow job for this annotation

GitHub Actions / yamllint

4:17 [empty-values] empty value in block mapping

Check failure on line 4 in .github/workflows/pr_agent.yaml

View workflow job for this annotation

GitHub Actions / yamllint

4:17 [empty-values] empty value in block mapping
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: pr-agent
uses: Codium-ai/pr-agent@main
env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3a429f4

Please sign in to comment.