Skip to content

Commit 2525ea9

Browse files
committed
Minor changes
1 parent a49a35b commit 2525ea9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/security.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ permissions:
1515

1616
jobs:
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
@@ -93,7 +92,8 @@ jobs:
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
}

0 commit comments

Comments
 (0)