Axon Shaft docs

Action inputs and outputs

The inputs axonpack/shaft-actions takes and the outputs it sets, as of v1.10.0.

This page is for action v1.10.0. Everything else, from the model to the review rules, is set on the dashboard, so the workflow needs no inputs.

Inputs

Set an input under with: on the action's step.

InputWhat it doesRequiredDefault
dry_runPrint the summary and inline comments to the job log instead of posting them.Nofalse

Outputs

A later step in the same job reads an output as steps.<id>.outputs.<name>, once the action's step has an id.

OutputWhat it holds
verdictblocking, needs-changes or looks-good.
findingsThe number of blocking and should-fix findings.
summary_urlThe link to the summary comment. Empty on a dry run.

Pass an output to a script through env:. Written straight into run:, an output's text would run as shell:

- uses: axonpack/[email protected]
  id: shaft
- run: echo "$RESULT"
  env:
    RESULT: ${{ steps.shaft.outputs.verdict }}

Last updated on

On this page