Skip to content

ci: allow any command for Renovate post-upgrade tasks - #754

Closed
gkalpak wants to merge 0 commit into
angular:mainfrom
gkalpak:ci-renovate-allowed-cmds
Closed

gkalpak wants to merge 0 commit into
angular:mainfrom
gkalpak:ci-renovate-allowed-cmds

Conversation

@gkalpak

@gkalpak gkalpak commented Aug 4, 2022 •

Copy link
Copy Markdown
Member

The allowedPostUpgradeCommands pattern list is used to determine whether a post-upgrade task command is allowed to be run by Renovate. Using a regex to try and limit the type of commands that can be run is not a viable strategy.

This commit allows any command to be run in a post-upgrade task, which saves us the trouble of having to update the allowed commands pattern list every time we want to add a new post-upgrade task. Since adding/modifying Renovate post-upgrade tasks are subject to the regular PR review workflow, unwanted commands will be caught there.

INFO: Internal discussion

@gkalpak
gkalpak marked this pull request as ready for review August 4, 2022 10:22
@josephperrott
josephperrott force-pushed the ci-renovate-allowed-cmds branch from 5f1e977 to af39355 Compare August 5, 2022 12:55
@angular-robot
angular-robot Bot requested a review from devversion August 5, 2022 12:55
@gkalpak

gkalpak commented Aug 19, 2022

Copy link
Copy Markdown
Member Author

New PR: #782

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants