acrollet/Run phpcs-drupal with reviewdog

🐶 Run PHPCS for Drupal with reviewdog on pull requests to improve code review experience.

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Stalelast commit Dec 9, 2020
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: acrollet/action-phpcs-drupal@229966bd33db8af3d9e1302754a02b0fa119fb8c # v1.0.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenGITHUB_TOKEN${{ github.token }}
tool_nameTool name to use for reviewdog reporterphpcs
workdirWorking directory relative to the root directory..
levelReport level for reviewdog [info,warning,error]error
reporterReporter of reviewdog command [github-pr-check,github-pr-review].github-pr-check
filter_modeFiltering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added. added
fail_on_errorExit code for reviewdog when errors are found [true,false] Default is `false`. false
reviewdog_flagsAdditional reviewdog flags""
phpcs_argsAdditional PHPCS flags.
phpcs_extensionsFile extensions to checkphp,module,inc,install,test,profile,theme,css,info,txt,md,yml
phpcs_ignoreFiles to ignorenode_modules,bower_components,vendor
phpcs_standardCoding standard for PHPCS to use when checking filesDrupal

no outputs