OpenGrep Scanner
OpenGrep SAST Scanner - Reusable Workflow
THIN WRAPPER: This workflow delegates to the scanner-opengrep composite action. All scanning logic is in: .github/actions/scanner-opengrep/action.yml
For GHES users: Use the composite action directly instead of this workflow. See: examples/github-enterprise/sast-only.yml
uses: huntridge-labs/argus/.github/workflows/scanner-opengrep.yml@0.6.7
Triggers
- Manual dispatch
- Reusable (called by other workflows)
Permissions
| Scope | Access |
|---|---|
contents |
read |
security-events |
write |
actions |
read |
pull-requests |
write |
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
post_pr_comment |
Whether to post PR comments boolean | No | True |
enable_code_security |
Whether GitHub Code Security is enabled for this repository boolean | No | False |
fail_on_severity |
Fail the job if vulnerabilities at or above this severity are found. Options: none, low, medium, high. Set to "none" ... string | No | none |
opengrep_config |
OpenGrep config (e.g., auto, p/default, p/security-audit, or path to custom rules) string | No | auto |
opengrep_paths |
Paths to scan (space-separated) string | No | . |
Jobs
opengrep-analysis โ OpenGrep SAST
Runs on: ubuntu-latest ยท Timeout: 20 minutes ยท Continue on error: Yes
Steps:
- Checkout repository โ
actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - Run OpenGrep Scanner โ
huntridge-labs/argus/.github/actions/scanner-opengrep@0.6.7
Actions used:
- ๐
scanner-opengrepโ OpenGrep Scanner
All Composite Actions Referenced
- ๐
scanner-opengrepโ OpenGrep Scanner