Skip to content

Stats

How much does Aval reuse in real CI? Live numbers from every repository that records runs to ghcr.io/trianalab/aval-stats, Aval's own CI included.

Live statistics are not available right now: stats.json is missing, malformed or more than 6 hours old.

Run records are unsigned statistics. They never affect reuse.

Where the numbers come from

Twice an hour, and on every push to main, the docs workflow runs:

aval stats --registry ghcr.io/trianalab/aval-stats \
  --by repository --since 30d -o json

and publishes the stats report as stats.json at the site root. If a refresh fails, the previous file stays.

To keep statistics for your own repositories, see Measure reuse. To add a TrianaLab repository to these numbers, see CONTRIBUTING.md.

Publish from GitHub Actions

The publish action sends the run record of every artifact in the workflow run, verified hits and verification failures included, to a registry of another repository's package:

- uses: TrianaLab/aval/integrations/github/publish@<sha> # pin by commit SHA
  with:
    stats: "true"
    stats-registry: ghcr.io/trianalab/aval-stats
  • stats-registry is host[:port]/path, with no scheme, credentials or @; anything else exits 2 before anything is pushed. Empty, records go to the policy's registry.
  • The registry credentials (github.token by default) go to it only when it is on the host of the policy's registry.
  • The job's packages: write reaches another repository's package only when that package grants the publishing repository write access (package settings, "Manage Actions access"). Until then each record is a warning.
  • A record that cannot be published never fails the step, and a verification failure still exits 5.