Skip to content

Commit

Permalink
Support uploading to GitHub API (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
kzantow committed Mar 18, 2022
1 parent 497938e commit 8162166
Show file tree
Hide file tree
Showing 19 changed files with 1,000 additions and 149 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
run: |
for distro in alpine centos debian; do
docker build -t localhost:5000/match-coverage/$distro ./tests/fixtures/image-$distro-match-coverage
docker push localhost:5000/match-coverage/$distro:latest
docker push localhost:5000/match-coverage/${distro}:latest
done
- run: npm ci
- run: npm test
Expand Down
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ inputs:
description: "The name to use for the SBOM file generated by this action"
required: false

syft-version:
required: false
description: "The version of Syft to use"

dependency-snapshot:
required: false
description: "Upload to GitHub dependency snapshot API"
default: "false"

runs:
using: "node12"
main: "dist/runSyftAction/index.js"
263 changes: 229 additions & 34 deletions dist/attachReleaseAssets/index.js

Large diffs are not rendered by default.

0 comments on commit 8162166

Please sign in to comment.