This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding ProdSec consolidated workflow files
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Product Security tooling | ||
# Runs Manifest SBOM generation and Dependency Check Scanning | ||
--- | ||
name: Product Security Tooling | ||
|
||
'on': | ||
pull_request: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
sbom_generator: | ||
if: github.event_name == 'release' | ||
uses: HealthByRo/ro-github-actions/.github/workflows/manifest_sbom.yml@main | ||
with: | ||
languages: '["JavaScript"]' | ||
secrets: | ||
ssh_key: ${{ secrets.SSH_RO_CI_DEPLOY }} | ||
manifest_key: ${{ secrets.MANIFEST_SBOM }} | ||
|
||
dependency-check: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Dependency Check | ||
uses: actions/dependency-review-action@v3 | ||
with: | ||
fail-on-severity: critical | ||
license-check: false |