renovate/.github/workflows/ws_scan.yaml
renovate[bot] 6c06ae463f
chore(deps): update actions/checkout action to v2.4.0 (#12465)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 22:36:58 +00:00

17 lines
618 B
YAML

name: whitesource-scan
on:
push:
branches: [main]
jobs:
WS_SCAN:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2.4.0
- name: Download UA
run: curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
- name: Run UA scan
run: java -jar wss-unified-agent.jar -d $GITHUB_WORKSPACE -noConfig true -apiKey ${{ secrets.WS_ORG_TOKEN }} -product W4D -project "Renovate OS - main" -resolveAllDependencies false -npm_resolveDependencies true || true