GitHub Action quickstart
Run VICE on pull requests and pushes with the official v3 Action.
Add the workflow
Create a workflow in .github/workflows and use the official VICE v3 Action. The example enables the default report features, so it declares the corresponding GitHub permissions.
Understand the defaults
- Audit the repository root.
- Require a minimum VICE score of 70 and fail below it.
- Comment on pull requests when the event supports it.
- Update .github/vice-badge.json.
- Upload SARIF to GitHub Code Scanning.
Review the first run
Open the workflow job, read the VICE summary, then review the PR comment and Code Scanning results. Confirm coverage and versions before changing the threshold.
Tune after local review
Run the CLI locally with the same repository path before making the Action blocking. Baseline only reviewed findings and keep the threshold explicit in the workflow.
Choose a release policy
Use @v3 for compatible updates within the major release. Pin an exact published release or trusted commit when strict reproducibility is required, then plan how updates will be reviewed.
Continue with VICE
See how VICE runs security checks in continuous integration.