From 76b4178021bd47d0bfe10b5fb5908cd9e6cbc42f Mon Sep 17 00:00:00 2001 From: "monitoring-forge-files-sync-action[bot]" <312405152+monitoring-forge-files-sync-action[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 13:59:35 +0000 Subject: [PATCH] chore: sync files with `monitoring-forge/github-common` --- .github/dependabot.yml | 2 ++ .github/workflows/pr-agent.yml | 24 +++++++++++++++++++----- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6773f7b..f090c50 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,8 @@ updates: prefix: "ci:" cooldown: default-days: 7 + ignore: + - dependency-name: "the-pr-agent/pr-agent" groups: dependencies: patterns: diff --git a/.github/workflows/pr-agent.yml b/.github/workflows/pr-agent.yml index 337eef9..77f2006 100644 --- a/.github/workflows/pr-agent.yml +++ b/.github/workflows/pr-agent.yml @@ -15,22 +15,36 @@ jobs: if: ${{ github.event.sender.type != 'Bot' }} steps: - name: PR Agent action step - uses: the-pr-agent/pr-agent@743f52d80f3513193dfc7626f778c73478df6d0a # v0.41.1 + uses: the-pr-agent/pr-agent@4ebd5c5333c6ef21509e7304d27969eb825e6f22 # v0.43.0 env: OPENAI_KEY: ${{ secrets.OPENAI_KEY }} OPENAI_API_BASE: ${{ secrets.OPENAI_API_BASE }} + openrouter.key: ${{ secrets.OPENROUTER_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} github_action_config.auto_review: "true" github_action_config.auto_describe: "true" github_action_config.auto_improve: "true" github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "synchronize"]' - config.model: "openai/preview/Kimi-K2.7-Code" - config.fallback_models: '["openai/preview/Qwen3.6-35B-A3B"]' + config.model: "openrouter/openai/gpt-5.6-terra" + config.fallback_models: '["openrouter/openai/gpt-5.6-luna"]' config.custom_model_max_tokens: 256000 config.max_model_tokens: 120000 - config.temperature: "0.2" + config.temperature: "0" pr_code_suggestions.commitable_code_suggestions: "true" pr_reviewer.num_code_suggestions: "3" pr_reviewer.enable_review_score: "false" pr_reviewer.extra_instructions: | - You are a senior software engineer and code reviewer. You will review the code in the pull request and provide feedback on bugs, security, performance, and maintainability. You will not provide feedback on style or formatting. You will be concise in your feedback. + Review only: + - correctness + - bugs + - security + - performance + - maintainability + Ignore: + - formatting + - naming + - style + - comments + Do not suggest refactoring unless it addresses + a maintainability or correctness issue. + Be concise.