Run yamllint with configuration shared across repositories.
This action runs yamllint, a tool designed to lint YAML files.
Note
yamllint checks not only for syntax validity, but also detects potential bugs like key repetition, and style problems such as lines length, trailing spaces, indentation, etc.
To set up the action, you need to create a YAML file that defines your configurations. Refer to the detailed configuration syntax provided in the yamllint documentation.
steps:
- name: Cross Yamllint
uses: tmknom/cross-yamllint-action@v0
with:
configuration-url: https://raw.githubusercontent.com/tmknom/configurations/main/yamllint/github-actions.yml steps:
- name: Cross Yamllint
uses: tmknom/cross-yamllint-action@v0
with:
configuration-path: .yamllint.yml| Name | Description | Default | Required |
|---|---|---|---|
| configuration-path | The path for the yamllint configurations. | n/a | no |
| configuration-url | The url for the yamllint configurations. | n/a | no |
| Name | Description |
|---|---|
| configuration-path | The path for the configuration file to passing yamllint. |
| configuration-sha256 | SHA256 of the configuration file to passing yamllint. |
N/A
N/A
- lint-workflows: Collection of lint workflows.
- configurations: Collection of configurations.
See GitHub Releases.