# defaultActionlintRunner (/docs/api/functions/defaultActionlintRunner)



```ts
function defaultActionlintRunner(yamlText, spawn?): ActionlintRun;
```

Defined in: [packages/core/src/actionlint.ts:20](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/actionlint.ts#L20)

Default runner: pipe the workflow to a local `actionlint` over stdin and parse
its JSON findings. A missing binary (ENOENT) resolves to `available: false`
rather than throwing, so an absent linter never fails a build.

## Parameters [#parameters]

### yamlText [#yamltext]

`string`

### spawn? [#spawn]

[`SpawnSync`](../type-aliases/SpawnSync.mdx) = `...`

## Returns [#returns]

[`ActionlintRun`](../interfaces/ActionlintRun.mdx)


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)