GitHub Action
Twigcs
1.0.0
Latest version
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