Skip to content

arun291091/yamllint

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yamllint

Github Actions for "Yamllint" for a specific PR

Agenda

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.

To whom it is useful

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

Pre-requisites

  1. You can directly start using it.

How to works?

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.

It throws warning for indendation error and fail for syntax errors.

Sample yamllint : .yamllint

How to use?

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

How to report issues?

Raise an issue via github for any issues.

About

Github Actions for "Yamllint" for a specific PR

Resources

License

Stars

Watchers

Forks

Packages

No packages published