Skip to content

tmknom/cross-yamllint-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cross-yamllint-action

Run yamllint with configuration shared across repositories.

Description

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.

Usage

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.

Configuration URL

  steps:
    - name: Cross Yamllint
      uses: tmknom/cross-yamllint-action@v0
      with:
        configuration-url: https://raw.githubusercontent.com/tmknom/configurations/main/yamllint/github-actions.yml

Configuration Path

  steps:
    - name: Cross Yamllint
      uses: tmknom/cross-yamllint-action@v0
      with:
        configuration-path: .yamllint.yml

Inputs

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

Outputs

Name Description
configuration-path The path for the configuration file to passing yamllint.
configuration-sha256 SHA256 of the configuration file to passing yamllint.

Permissions

N/A

FAQ

N/A

Related projects

Release notes

See GitHub Releases.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors