GitHub Action implementation of the TwigCS Package provided by https://github.com/friendsoftwig/twigcs.
The folder to run twigcs recursively from.
Default '.'.
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.
Optional: Name of a subfolder to exclude.
uses: DirtDiglett/actions-twigcs@v1
with:
dir: ./src/views
severity_tolerance: error
ignore_folder: vendor