Skip to content

Commit

Permalink
Merge pull request #5 from sbgisen/feature/pr-agent
Browse files Browse the repository at this point in the history
Add PR agent workflow for automatically comment on PRs
  • Loading branch information
h-wata authored Apr 26, 2024
2 parents 0d581f2 + 7b1c260 commit f2e74a1
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 f2e74a1

Please sign in to comment.