From 0aef483b3cccd0616fd5be2d06d0856b46851d09 Mon Sep 17 00:00:00 2001 From: Logan Jones Date: Sat, 14 Feb 2026 01:36:20 -0600 Subject: [PATCH] fix(ci): use allowedPostUpgradeCommands for Renovate post-upgrade tasks (#60) RENOVATE_ALLOW_POST_UPGRADE_COMMANDS is not a valid config option. Self-hosted Renovate requires RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS with a JSON array of regex patterns to whitelist specific commands. --- .github/workflows/renovate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index fd98496..9aac89b 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -34,5 +34,5 @@ jobs: LOG_LEVEL: info RENOVATE_REPOSITORIES: ${{ github.repository }} RENOVATE_GIT_AUTHOR: "onion-4-dinner <15676555+onion-4-dinner@users.noreply.github.com>" - # Allow postUpgradeTasks commands defined in renovate.json5. - RENOVATE_ALLOW_POST_UPGRADE_COMMANDS: "true" + # Whitelist postUpgradeTasks commands defined in renovate.json5. + RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^go generate \\./\\.\\.\\.$$"]'