From fc7f2efb05e68adf3cb69c8a0670a6082d843a11 Mon Sep 17 00:00:00 2001 From: Piotr Zaniewski Date: Wed, 15 Apr 2026 12:44:31 +0200 Subject: [PATCH] chore(auto-approve): make review body self-explanatory the previous review body ("Auto-approved: trusted bot, CI green, no merge conflicts.") restates what the approval UI already shows and leaves a reader who lands on a random bot-approved PR with no path to audit the rules that let the approval through. this message shows up on PRs across every repo that calls the shared workflow (vcluster-docs, vcluster, vcluster-pro, loft-enterprise, hosted-platform, loft-prod...), so it needs to work without any repo-specific context. linking to the README section gives anyone reading the approval a one-click jump to the eligibility criteria and source, regardless of which repo surfaced the PR. the body scalar uses a YAML block with a paragraph break so GitHub renders the link on its own line rather than collapsing the whole thing into a run-on sentence. --- .github/actions/auto-approve-bot-prs/action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/auto-approve-bot-prs/action.yml b/.github/actions/auto-approve-bot-prs/action.yml index 41333a8..1484cde 100644 --- a/.github/actions/auto-approve-bot-prs/action.yml +++ b/.github/actions/auto-approve-bot-prs/action.yml @@ -69,7 +69,10 @@ runs: uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0 with: github-token: ${{ inputs.github-token }} - review-message: 'Auto-approved: trusted bot, CI green, no merge conflicts.' + review-message: | + Approved by the shared auto-approve workflow because this PR matched the approval criteria. + + For more information, see https://github.com/loft-sh/github-actions?tab=readme-ov-file#auto-approve-bot-prs. - name: Enable auto-merge if: steps.ci.outputs.ci_green == 'true' && inputs.auto-merge == 'true'