Skip to content

Update nodejs-npm.yml #5

Update nodejs-npm.yml

Update nodejs-npm.yml #5

Workflow file for this run

name: Black Duck Automatic FixPR

Check failure on line 1 in .github/workflows/nodejs-npm.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nodejs-npm.yml

Invalid workflow file

(Line: 27, Col: 27): Unrecognized named-value: 'var'. Located at position 1 within expression: var.BLACKDUCKSCA_URL
on:
push:
branches: [ main ]
jobs:
blackduck-fixpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: |
cd nodejs-npm
npm install
- name: Black Duck Scan and FixPR
uses: blackduck-inc/black-duck-security-scan@v2
with:
blackducksca_url: ${{ var.BLACKDUCKSCA_URL }}
blackducksca_token: ${{ secrets.BLACKDUCKSCA_TOKEN }}
blackducksca_fixpr_enabled: true
github_token: ${{ secrets.GH_TOKEN }}
env:
DETECT_PROJECT_NAME: ${{ github.event.repository.name }}