mayrun

Docs

CI Action

Free policy compile and advisory scoreboard; Pro enforces receipt evidence on PRs.

Free tier validates that mayrun.policy.yaml compiles and prints an advisory scoreboard. Pro (license secret) also enforces a receipt evidence gate.

name: mayrun

on:
  pull_request:
  push:
    branches: [main]

jobs:
  mayrun-ci:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: mayrun ci (free)
        uses: kiket-dev/mayrun/.github/actions/mayrun-ci@main
        with:
          policy: mayrun.policy.yaml
          receipts: .mayrun/receipts.jsonl
          corpus: tests/corpus.yaml

      # Pro: set MAYRUN_LICENSE secret
      # - name: mayrun ci (pro)
      #   uses: kiket-dev/mayrun/.github/actions/mayrun-ci@main
      #   with:
      #     pro: "true"
      #     license: ${{ secrets.MAYRUN_LICENSE }}

Failure modes

ConditionFreePro
Missing / invalid policyfailfail
Scoreboard missesadvisoryadvisory
Missing receipts filenoticefail
Broken receipt hash chainfailfail
Missing / invalid license when pro: truen/afail

Local smoke:

mayrun ci
mayrun ci --pro --license "$MAYRUN_LICENSE"

License setup: Pro license · Pricing: /pricing