Skip to content

arthurbaghdas/actions-twigcs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action for TwigCS

GitHub Action implementation of the TwigCS Package provided by https://github.com/friendsoftwig/twigcs.

Inputs

dir

The folder to run twigcs recursively from.

Default '.'.

severity_tolerance

The exit code of TwigCS is based on the severity of any violation found. By default, twigcs only tolerates notices, this input changes this.

Available options: error - Allows notices and warnings notice - Disallows notices ignore - Allows everything

Default notice.

ignore_folder

Optional: Name of a subfolder to exclude.

Example usage

uses: DirtDiglett/actions-twigcs@v1
with:
  dir: ./src/views
  severity_tolerance: error
  ignore_folder: vendor

About

TwigCS Action for GitHub Actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.3%
  • Dockerfile 49.7%