Skip to content

feat: use the pre-built docker image in place of a pip install #161

feat: use the pre-built docker image in place of a pip install

feat: use the pre-built docker image in place of a pip install #161

Workflow file for this run

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
scan-codebase:
runs-on: ubuntu-24.04
permissions:
contents: read
name: Scan codebase and check for compliance issues
steps:
- name: Get the action.yml from the current branch
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
sparse-checkout: action.yml
sparse-checkout-cone-mode: false
persist-credentials: false
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: scancode-inputs
persist-credentials: false
- uses: ./
with:
pipelines: "scan_codebase"
check-compliance: true
compliance-fail-level: "WARNING"