Skip to content

Commit 0bb8c01

Browse files
[ITSEC-2280] Fix the dependency review action (#247)
* ITSEC-2280 Add Dependency Review job; Add SBOM signing. * ITSEC-2280 Update CODEOWNERS to include Product Security on .github * ITSEC-2280: Fix the dependency review action Signed-off-by: immutable-art <[email protected]> --------- Signed-off-by: immutable-art <[email protected]>
1 parent 7d73695 commit 0bb8c01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ jobs:
102102
with:
103103
# Possible values: "critical", "high", "moderate", "low"
104104
fail-on-severity: critical
105+
106+
# Address https://github.com/actions/dependency-review-action/issues/456
107+
base-ref: ${{ github.event.pull_request.base.sha || github.event.repository.default_branch }}
108+
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}
105109
publish:
106110
name: Publish to NPM (dry run)
107111
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)