Skip to content

feat: fall back to model.parameters.tools when root tools absent #1719

feat: fall back to model.parameters.tools when root tools absent

feat: fall back to model.parameters.tools when root tools absent #1719

Workflow file for this run

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
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24.x
- name: Enable corepack
run: corepack enable
- name: Install released package dependencies
run: yarn workspaces focus $(node scripts/released-packages.js)
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: 'false'
YARN_ENABLE_SCRIPTS: 'false'
ELECTRON_SKIP_BINARY_DOWNLOAD: '1'
- name: Generate SBOM
uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@0a54234f88a428df4163234dbb23ddb7fee8b8ec # main
with:
types: 'nodejs'
ensure-non-empty: 'true'
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@0a54234f88a428df4163234dbb23ddb7fee8b8ec # main
with:
artifacts-pattern: bom-*