Skip to content

Commit

Permalink
Add PR agent workflow for automatically comment on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
h-wata committed Apr 26, 2024
1 parent 0d581f2 commit 7b1c260
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 @@
---
name: LLM PR agent workflow

on:
# For automatically comment on PRs created by PR agent when a PR is created
pull_request:
types: [opened]
# For run PR agent only when you post command in a comment
issue_comment:
types: [created, edited]

jobs:
PR_agent:
name: PR agent
uses: sbgisen/.github/.github/workflows/pr_agent.yml@main
with:
common_extra_instructions: "Please answer in Japanese." # Optional
secrets:
openai_key: ${{ secrets.OPENAI_KEY }}

0 comments on commit 7b1c260

Please sign in to comment.