mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-26 13:18:58 +07:00
nox: add actionlint to lint Github Actions workflows
This PR integrates [actionlint](https://github.com/rhysd/actionlint) into our CI pipeline to check our Github Actions for best practices and common errors.
This commit is contained in:
@@ -79,6 +79,11 @@ The `nox` configuration also contains session to run automated docs checkers.
|
||||
nox -s lint
|
||||
```
|
||||
|
||||
The `actionlint` linter that is run as part of the `lint` session requires
|
||||
`podman` or `docker` to be installed.
|
||||
If both container engines are installed, `podman` is preferred.
|
||||
Set `CONTAINER_ENGINE=docker` to change this behavior.
|
||||
|
||||
### Checking spelling
|
||||
|
||||
Use [`codespell`](https://github.com/codespell-project/codespell) to check for common spelling mistakes in the documentation source.
|
||||
|
||||
Reference in New Issue
Block a user