-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(config options): rewrite ignoreScripts
#32171
base: main
Are you sure you want to change the base?
docs(config options): rewrite ignoreScripts
#32171
Conversation
docs/usage/configuration-options.md
Outdated
|
||
#### Example config to allow scripts for npm | ||
|
||
Insert example config that allows script execution for just the npm package manager. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you configure Renovate like this?
- Allow script execution, by setting the self-hosted config option
allowScripts=true
. - But limit the risk, by only allowing the
npm
package manager to run scripts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, allowScripts
is a top-level global setting so is turned on for all managers or none
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dropped the section about the example config to allow scripts for just npm.
Co-authored-by: Rhys Arkins <[email protected]>
I think we have two things remaining:
@viceice do you know how/if I can use headings properly? |
Changes
Applicable for npm, bun, Composer and Copier only for now.
as the auto-generated table has a list ofsupportedManagers
.Set this to true if running scripts causes problems.
, and instead explain Renovate's script allow/block behavior. Then users can choose what's best for their situation.Context
@rarkins
said:I'm adding the info above to the docs. Plus a general rewrite.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: