fix(renovate/copier): pass allow/ignore script
fix(renovate/copier): pass allow/ignore script
This is using the CLI flags to pass the options that are also part of
the renovate-common.json
configuration.
The reason we're adding these here as well is because it seems like
the config options aren't being picked up by renovate in runs. Copier
isn't run with the expected --trust
option.
I tried passing the same as ENV variables and that did succeed. See HTTP://gitlab.com/gitlab-com/gl-infra/capacity-planning-trackers/gitlab-dedicated-staging/-/jobs/7598883181 for a job that generated the update correctly and resulted in a succeeded MR that ran the scripts https://gitlab.com/gitlab-com/gl-infra/capacity-planning-trackers/gitlab-dedicated-staging/-/merge_requests/63
So this is another way of passing the same related arguments:
- https://docs.renovatebot.com/self-hosted-configuration/#allowscripts
- https://docs.renovatebot.com/configuration-options/#ignorescripts
If that fails, we'll have to try the env-vars directly...