Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PR agent workflow for automatically comment on PRs #5

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}