Skip to content

v0.1.2 — accurate no-args hint

Choose a tag to compare

@chenhz01 chenhz01 released this 20 Oct 06:14
· 7 commits to main since this release

What changed

The no-args warning in action.yml said args: check path/to/your/file on every
gate. check is only loop-gate's subcommand — the correct usage for this gate is:

- uses: chenhz01/loop-gate@v0.1.2
  with:
    args: "check path/to/trajectory.jsonl --window 6 --repeat-threshold 3"

Nothing else changed: gate.py is byte-identical to v0.1.1.

Why it matters

If you mount the action without args, it prints help and exits 0 — a green
check that inspected nothing. The warning annotation now quotes this gate's real
usage, so the fix is one copy-paste away instead of a wrong hint.

Pin the newest tag

The README used to pin @v0.1.0. That version predates the fix that makes a
mistyped path exit 2 instead of silently scanning zero files and passing.
Use @v0.1.2.

Exit codes for this gate

The bundled example exits 1 (it detects stasis in the trajectory).