Skip to content

bewuethr/yamllint-action

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

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yamllint-action

Linting Move release tags

This action runs the YAML linter yamllint on every YAML file in the repository.

Inputs

config-file

Optional The path to the configuration file for yamllint to use. See Configuration to learn about yamllint config files, and Rules for the individual rules.

Example usage

uses: bewuethr/yamllint-action@v1
with:
  config-file: .github/workflows/yamllintconfig

An example config file might look like this:

extends: default

rules:
  document-start: disable
  truthy: disable

Versions

To get the latest version of a major release, the major release without minor and patch release can be used.

To get the latest version of a minor release, the minor release without the patch release can be used.

For example: if the latest release is v1.1.2,

uses: bewuethr/yamllint-action@v1

and

uses: bewuethr/yamllint-action@v1.1

and

uses: bewuethr/yamllint-action@v1.1.2

will fetch v1.1.2. The advantage of using just @v1 is that minor releases and patches are included without requiring a change; the advantage of using @v1.1.2 is knowing that the action does 100% the same thing every time.

This is done via the release-tag-tracker action.

About

A GitHub Action to run the YAML linter yamllint

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •