Skip to content

Commit 56ad597

Browse files
authored
Merge pull request #636 from shivammathur/composer-no-audit
Set COMPOSER_NO_AUDIT environment variable by default
2 parents e04e1d9 + 6353d20 commit 56ad597

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
309309
- Input `tools` is useful to set up tools which are only used in CI workflows, thus keeping your `composer.json` tidy.
310310
- If you do not want to use all your dev-dependencies in workflow, you can run composer with `--no-dev` and install required tools using `tools` input to speed up your workflow.
311311
- By default, `COMPOSER_NO_INTERACTION` is set to `1` and `COMPOSER_PROCESS_TIMEOUT` is set to `0`. In effect, this means that Composer commands in your scripts do not need to specify `--no-interaction`.
312+
- Also, `COMPOSER_NO_AUDIT` is set to `1`. So if you want to audit your dependencies for security vulnerabilities, it is recommended to add a `composer audit` step before you install them.
312313

313314
## :signal_strength: Coverage Support
314315

src/configs/composer.env

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
COMPOSER_PROCESS_TIMEOUT=0
22
COMPOSER_NO_INTERACTION=1
3+
COMPOSER_NO_AUDIT=1

0 commit comments

Comments
 (0)