Skip to content

Bump step-security/harden-runner from 2.9.0 to 2.9.1 #380

Bump step-security/harden-runner from 2.9.0 to 2.9.1

Bump step-security/harden-runner from 2.9.0 to 2.9.1 #380

Workflow file for this run

name: Scancode
on: [push, pull_request]
permissions:
contents: read
jobs:
scancode:
runs-on: ubuntu-latest
container:
image: gianlucadb0/scancode-toolkit
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Create results directory
run: mkdir results
- name: Scancode run
run: scancode -clpeui -n 2 --cyclonedx ./results/sbom-cyclonedx --spdx-rdf ./results/sbom-spdx ./
- name: Upload artifact
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b
with:
name: scan-scancode-report
path: ./results/
- name: Artifact download
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
with:
name: scan-scancode-report