-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
420 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: PR Agent | ||
on: | ||
pull_request: | ||
types: | ||
- ready_for_review | ||
- opened | ||
issue_comment: | ||
types: | ||
- created | ||
- edited | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
pr_agent_job: | ||
if: ${{github.event.sender.type != 'Bot' && github.event.pull_request.draft == false}} | ||
runs-on: ubuntu-latest | ||
name: Run pr agent on every pull request, respond to user comments | ||
steps: | ||
- name: PR Agent action step | ||
id: pragent | ||
uses: Codium-ai/[email protected] | ||
env: | ||
OPENAI_KEY: ${{ secrets.OPENAI_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_ACTION.AUTO_REVIEW: "true" | ||
GITHUB_ACTION.AUTO_DESCRIBE: "true" | ||
GITHUB_ACTION.AUTO_IMPROVE: "true" | ||
PR_REVIEWER.EXTRA_INSTRUCTIONS: "必ず日本語で回答してください" | ||
PR_DESCRIPTION.PUBLISH_LABELS: "false" | ||
PR_DESCRIPTION.ADD_ORIGINAL_USER_DESCRIPTION: "true" | ||
PR_DESCRIPTION.EXTRA_INSTRUCTIONS: "Please use Japanese in descriptions." | ||
PR_CODE_SUGGESTIONS.EXTRA_INSTRUCTIONS: "Please use Japanese in descriptions." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.