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.
This commit is contained in:
@@ -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 \\./\\.\\.\\.$$"]'
|
||||
|
||||
Reference in New Issue
Block a user