feat: append a collapsible runtime environment to bot comments

Comments in which ghbot starts or completes an operation now end with a collapsed Runtime environment block (trigger, runner, goose model and version, review policy, automation flags, cache state) followed by a Created By GHBot signature linking to this repository. The template is shared by action-mode progress, recheck, completion, and PR chat comments; the workflow exports the pinned GOOSE_VERSION so the displayed version is truthful.
This commit is contained in:
lezi-fun committed 2026-08-22 11:36:39 +08:00
1 parent 625ba79dbb
commit ec601bef93
6 files changed
+199 -6

No files matched your search

+2
View File
@@ -241,6 +241,7 @@ jobs:
GOOSE_BASE_URL: ${{ inputs.goose_base_url || inputs.opencode_base_url }}
GOOSE_MODEL: ${{ inputs.goose_model || inputs.opencode_model }}
GOOSE_THINKING_EFFORT: ${{ inputs.goose_thinking_effort || inputs.opencode_reasoning_effort }}
GOOSE_VERSION: v1.46.0
REVIEW_POLICY: ${{ inputs.review_policy }}
REVIEW_STRICTNESS: ${{ inputs.review_strictness }}
REVIEW_INSTRUCTIONS: ${{ inputs.review_instructions }}
@@ -316,6 +317,7 @@ jobs:
GOOSE_BASE_URL: ${{ inputs.goose_base_url || inputs.opencode_base_url }}
GOOSE_MODEL: ${{ inputs.goose_model || inputs.opencode_model }}
GOOSE_THINKING_EFFORT: ${{ inputs.goose_thinking_effort || inputs.opencode_reasoning_effort }}
GOOSE_VERSION: v1.46.0
REVIEW_POLICY: ${{ inputs.review_policy }}
REVIEW_STRICTNESS: ${{ inputs.review_strictness }}
REVIEW_INSTRUCTIONS: ${{ inputs.review_instructions }}