Update nodejs-npm.yml #4
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: Black Duck Automatic FixPR | |
| 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: ${{ secrets.BLACKDUCK_URL }} | |
| blackducksca_token: ${{ secrets.BLACKDUCK_TOKEN }} | |
| blackducksca_fixpr_enabled: true | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| env: | |
| DETECT_PROJECT_NAME: ${{ github.event.repository.name }} |