DocsAction
GitHub Action
The composite Action in this repository runs the verifiers of code tasks against the gold solution, labelled candidates, and mutants, and reports problems with evidence and repro commands. Use it onpull_request with read-only permissions. It needs no secrets.
The example pins beastrog/aethens@v0.1.0, the current release, also listed on the GitHub Marketplace. The Action installs Aethens from its own checkout, so the ref you pin is the version that runs. The path input is relative to the workspace, so the job must check out your repository first.
Example
- uses: beastrog/aethens@v0.1.0
with:
path: path/to/tasks
budget: standard
fail-on: error
seed: "0"Same example as the README. Optional inputsimages andpython-version can be added as needed.
Inputs
From action.yml:
| Input | Required | Default | Description |
|---|---|---|---|
path | yes | — | Task directory (with task.yaml) or a directory of tasks, relative to the workspace. |
budget | no | standard | smoke, standard, or deep. |
fail-on | no | error | error or warning. Findings at or above this severity fail the step. |
seed | no | 0 | Seed for reproducible runs. |
images | no | python:3.12-slim | Space-separated Docker images the tasks use. The Action pulls them before the audit; runs use --pull never. |
python-version | no | 3.12 | Python used to run Aethens itself, not the tasks, which run in Docker. |
Outputs
| Output | Description |
|---|---|
exit-code | The aethens exit code: 0 pass, 1 findings, 2 tool error, 3 timeout. |
The Action always runs aethens audit with--format markdown and--output aethens-report.md. If that report file exists, it is appended to the GitHub Actions step summary. The step then exits with the same code Aethens returned, so findings at or abovefail-on fail the job.
Sources: action.yml, the README Action example, and.github/workflows/action-selftest.yml (read-onlypull_request usage). CLI flags: CLI usage.