chore: migrate action to use node v20.11.0 (Iron) FROM node v16.x.x #982
Workflow file for this run
This file contains 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: "[Demo] Run Scan Action" | |
on: [push, pull_request] | |
jobs: | |
test-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./ | |
with: | |
image: "alpine:latest" | |
fail-build: false | |
test-directory: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./ | |
with: | |
path: "tests/fixtures/npm-project" | |
severity-cutoff: "negligible" | |
fail-build: false | |
sbom: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./ | |
with: | |
sbom: tests/fixtures/test_sbom.spdx.json | |
fail-build: false |