test: run Provenant license/SBOM scan in CI - #27
Closed
mstykow wants to merge 4 commits into
Closed
Conversation
Runs getprovenant/provenant-action on PRs: scans for licenses, packages, and copyrights; evaluates an example license policy (GPL/AGPL = error, MIT = noted); uploads SARIF to code scanning; and archives the JSON report.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
The license-policy file names licenses (gpl-3.0, agpl-3.0), which the scanner detected in that file itself and tripped the error gate. Ignore the config dir.
Add a push:[master] trigger so results populate Security -> Code scanning (the tab is default-branch scoped). Bump checkout v4->v7, upload-artifact v4->v7, and codeql-action/upload-sarif v3->v4 to clear the Node20/CodeQL-v3 deprecations.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test PR to exercise the Provenant GitHub Action live on this repo.
Adds
.github/workflows/provenant.yml(runs on PRs) which:.provenant/license-policy.yml): GPL/AGPL =error, MIT =warning.fail-on: error(no GPL/AGPL here, so it passes).warningalerts).Purely additive (a workflow + a policy file); nothing else in the repo changes.