From 10eff83f22ff0e0d311e33927b01c63b352f6359 Mon Sep 17 00:00:00 2001 From: t1k2a Date: Sun, 19 Oct 2025 15:37:49 +0900 Subject: [PATCH] =?UTF-8?q?pr-agent=E3=81=AE=E5=B0=8E=E5=85=A5=20#117?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-agent.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pr-agent.yml diff --git a/.github/workflows/pr-agent.yml b/.github/workflows/pr-agent.yml new file mode 100644 index 0000000..35de75e --- /dev/null +++ b/.github/workflows/pr-agent.yml @@ -0,0 +1,26 @@ +on: + pull_request: + types: [opened, reopened, ready_for_review, synchronize] + issue_comment: +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: pragent + uses: qodo-ai/pr-agent@main + env: + OPENAI_KEY: ${{ secrets.OPENAI_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + github_action.auto_describe: true + github_action.auto_review: true + github_action.auto_improve: true + PR_DESCRIPTION.EXTRA_INSTRUCTIONS: '日本語で記述してください。タイトルに次のPrefixをつけてください。`feat:`, `fix:`, `perf:`, `refactor:`, `test:`, `chore:`, `ci:`, `docs:` etc' + PR_REVIEWER.EXTRA_INSTRUCTIONS: '日本語で記述してください。' + PR_CODE_SUGGESTIONS.EXTRA_INSTRUCTIONS: '日本語で記述してください。' \ No newline at end of file