-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Prevent audits breaking builds
Composer 2.4.0 introduced a new "Audit" feature, which will run automatically on any composer update, require, remove and create-project.
This audit feature may break builds when security vulnerabilities are found.
The audit feature can be disabled using the --no-audit option - or as of Composer 2.4.1, using the new COMPOSER_NO_AUDIT env variable.
As composer-install already automatically applies typical options like --no-interaction, I was wondering if the --no-audit option should be added to that list of options which are automatically applied.
What do you think ?
Refs:
- https://blog.packagist.com/composer-2-4/
- https://github.com/composer/composer/releases/tag/2.4.1
- Environment variable for
--no-audit. composer/composer#10998 - Related issue in
setup-php
Alternatives
Rely on people adding the --no-audit flag manually to the composer-options in all their CI scripts.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request