Github Actions for "Yamllint" for a specific PR
This action is helpful to add it as a linter to your repo which needs to execute yaml linter only to the specific files that was modified in your PR rather than checking the netire repository files.
if you need to execute yaml linter only to the specific files that was modified in your PR rather than checking the netire repository files
- You can directly start using it.
An action has been created to add an yaml linter only to the specific files that was modified in your PR. It has all the dependancies installed, all you have to do is use this and create a yamlinter.yaml in your repo.
like : Sample Yaml Linter to be added in your repo
It runs the yaml linter only to the newly created/modified files of PR and publishes the result in the Github Summary.
It only checks for Syntax and indendation error, You can control the rest via .yamllint in your root directory.
Sample yamllint : .yamllint
Use this action within your GitHub workflow step where you need to wait for some additional approval before proceeding to the next step.
- name: Yaml Linter GHA Action
uses: arun291091/yamllinter@v1
Raise an issue via github for any issues.