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:
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-registryishost[:port]/path, with no scheme, credentials or@; anything else exits 2 before anything is pushed. Empty, records go to the policy'sregistry.- The registry credentials (
github.tokenby default) go to it only when it is on the host of the policy'sregistry. - The job's
packages: writereaches 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.