Forgejo action for Ojo
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
James Luther 2ae033e39e
All checks were successful
test / test (push) Successful in 14s
security-scan / security-scan (push) Successful in 40s
Merge pull request 'Update https://data.forgejo.org/forgejo/upload-artifact action to v5' (#25) from renovate/https-data.forgejo.org-forgejo-upload-artifact-5.x into main
Reviewed-on: #25
2026-11-19 16:36:04 +00:00
.forgejo/workflows Update actions/checkout action to v7 2026-10-23 04:01:54 +00:00
test Open links in a new tab, fix external URL, sort details by severity 2026-09-04 22:09:11 -05:00
.gitignore Gitignore .semgrep/ (local guardian tool state, not part of the project) 2026-09-04 14:15:45 -05:00
action.yml Merge pull request 'Update https://data.forgejo.org/forgejo/upload-artifact action to v5' (#25) from renovate/https-data.forgejo.org-forgejo-upload-artifact-5.x into main 2026-11-19 16:36:04 +00:00
LICENSE first commit 2026-08-29 17:40:42 -05:00
README.md chore: pin default ojo image to v0.2.4 by digest 2026-10-08 10:25:01 -05:00
renovate.json chore: pin default ojo image to v0.2.4 by digest 2026-10-08 10:25:01 -05:00
scan.sh Open links in a new tab, fix external URL, sort details by severity 2026-09-04 22:09:11 -05:00

ojo-forgejo

Buy Me a Coffee

Forgejo/Gitea Action that runs ojo (dependency, secret, IaC, SAST, and code-quality scanning), publishes the reports as a workflow artifact, and on pull_request/pull_request_target events posts (and keeps updated) a findings summary comment on the PR. Requires a runner with Docker access.

Pair with balam-forgejo later in the pipeline to upload the reports to Balam.

Usage

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: colibrisec/ojo-forgejo@v1
      # - uses: colibrisec/balam-forgejo@v1
      #   with:
      #     balam-url: https://balam.example.com
      #     balam-token: ${{ secrets.BALAM_TOKEN }}

Inputs

Input Default Notes
vulnerabilities true Dependency CVEs (ojo vuln)
secrets true Hardcoded credentials (ojo secret)
iac true Dockerfile/Kubernetes/Terraform misconfig (ojo misconfig)
sast true Source-level issues (ojo sast)
quality false Maintainability smells (ojo quality), off by default same as ojo itself
sbom false CycloneDX SBOM, published as a workflow artifact
ojo-version v0.2.4@sha256:09a5… Tag of ghcr.io/colibrisec/ojo, optionally tag@sha256:digest. The default is digest-pinned and bumped by Renovate
path . Path to scan, relative to the repo root
image Container image ref to scan for vulnerable OS packages (ojo image); empty skips it
fail-on-findings false true fails the job when ojo finds anything
upload-artifact true Publish ojo-report.json/ojo-image-report.json/ojo-sbom.cdx.json as a workflow artifact
pr-comment true Post/update a findings summary comment on the triggering PR (needs a token with issue/PR write access)
token ${{ github.token }} Used for the PR comment

License

GPL-2.0, matching ojo's own license.