File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,9 +15,8 @@ permissions:
1515
1616jobs :
1717 dependency-review :
18- if : github.event_name == 'pull_request'
18+ if : github.event_name == 'pull_request' && vars.ENABLE_DEPENDENCY_REVIEW == 'true'
1919 runs-on : ubuntu-latest
20- continue-on-error : true
2120 permissions :
2221 contents : read
2322 pull-requests : write
9392 console.log("No blocking high/critical production vulnerabilities found.");
9493 NODE
9594
96- - name : Audit full dependency tree (with temporary lodash exception)
95+ - name : Audit full dependency tree (informational)
96+ continue-on-error : true
9797 shell : bash
9898 run : |
9999 set -euo pipefail
@@ -133,7 +133,7 @@ jobs:
133133 }
134134
135135 if (failing.length > 0) {
136- console.error("High/Critical vulnerabilities found (excluding temporary lodash exception):");
136+ console.error("High/Critical vulnerabilities found in full tree (excluding temporary lodash exception):");
137137 for (const item of failing) {
138138 console.error(`- ${item.pkg} (${item.severity})`);
139139 }
You can’t perform that action at this time.
0 commit comments