From 541cb0cb90700db7f133e86abd19c563ca82f84f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20M=C3=BCnch?= <mamu+github@stablerock.de> Date: Thu, 27 Apr 2023 07:16:59 +0200 Subject: [PATCH] docs: do not git add in post upgrade tasks (#21828) --- docs/usage/configuration-options.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md index 6b46b8c499..862fc39935 100644 --- a/docs/usage/configuration-options.md +++ b/docs/usage/configuration-options.md @@ -2554,6 +2554,10 @@ A list of commands that are executed after Renovate has updated a dependency but You can use variable templating in your commands if [`allowPostUpgradeCommandTemplating`](https://docs.renovatebot.com/self-hosted-configuration/#allowpostupgradecommandtemplating) is enabled. +<!-- prettier-ignore --> +!!! note + Do not use `git add` in your commands to add new files to be tracked, add them by including them in your [`fileFilters`](https://docs.renovatebot.com/self-hosted-configuration/#filefilters) instead. + ### fileFilters A list of glob-style matchers that determine which files will be included in the final commit made by Renovate. -- GitLab