-
Notifications
You must be signed in to change notification settings - Fork 2
chore: [SEC-7263] Add dependency-scan GitHub Actions workflow #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+23
−0
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8b42c49
feat: add dependency-scan GitHub Actions workflow
devin-ai-integration[bot] 52ddeb0
Potential fix for code scanning alert no. 556: Workflow does not cont…
pkaeding a732ae6
fix: format dependency-scan.yml with prettier
devin-ai-integration[bot] 3fe87dc
fix: format dependency-scan.yml with prettier
devin-ai-integration[bot] 417bbf4
fix: add missing checkout step to evaluate-policy job
devin-ai-integration[bot] 33da2ad
fix: add memory configuration for cdxgen in large monorepo
devin-ai-integration[bot] 4c32bfe
fix: exclude rrweb submodule from SBOM generation to prevent timeout
devin-ai-integration[bot] 5ead876
fix: use larger runner and full SBOM generation for complete dependen…
devin-ai-integration[bot] bcb96de
fix: use correct pinned SHA for actions/checkout@v4
devin-ai-integration[bot] 86158bb
Merge branch 'main' into devin/1757599614-add-dependency-scan-workflow
kinyoklion e473ddd
fix: use ubuntu-latest runner as requested in PR review
devin-ai-integration[bot] 5c80e65
fix: use reusable workflow with larger runner to resolve SBOM generat…
devin-ai-integration[bot] e9fcc8c
Potential fix for code scanning alert no. 583: Workflow does not cont…
pkaeding 8f8e316
go back to shared actions
pkaeding aceb9b3
simplify workflow
pkaeding 6fcdeb8
fix bomfile
pkaeding a16199e
lint
Vadman97 2d538fa
Merge branch 'main' into devin/1757599614-add-dependency-scan-workflow
pkaeding File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,28 @@ | ||
| name: Dependency Scan | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| generate-nodejs-sbom: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Generate SBOM | ||
| uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@main | ||
| with: | ||
| types: 'nodejs' | ||
|
|
||
| evaluate-policy: | ||
| runs-on: ubuntu-latest | ||
| needs: | ||
| - generate-nodejs-sbom | ||
| steps: | ||
| - name: Evaluate SBOM Policy | ||
| uses: launchdarkly/gh-actions/actions/dependency-scan/evaluate-policy@main | ||
| with: | ||
| artifacts-pattern: bom-* | ||
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.