Skip to content

Bump step-security/harden-runner from 2.9.1 to 2.10.1 #400

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

Bump step-security/harden-runner from 2.9.1 to 2.10.1 #400

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@834a144ee995460fba8ed112a2fc961b36a5ec5a
with:
name: scan-scancode-report
path: ./results/
- name: Artifact download
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
with:
name: scan-scancode-report