fix: FDv2 Only -- Adjust the behavior of initialization when only cac… #1598
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
| name: Dependency Scan | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| generate-nodejs-sbom: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Generate SBOM | |
| uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@8220ae5b6e56f7108d076da0e710dc4feca15101 # main | |
| with: | |
| types: 'nodejs' | |
| evaluate-policy: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - generate-nodejs-sbom | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Evaluate SBOM Policy | |
| uses: launchdarkly/gh-actions/actions/dependency-scan/evaluate-policy@8220ae5b6e56f7108d076da0e710dc4feca15101 # main | |
| with: | |
| artifacts-pattern: bom-* |