You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add to .github/code_standard.yml following and push code to master branch
name: Coding Standards
on:
push:
branches:
- "master"
paths:
- "**.php"
- "**.phtml"
...
- uses: tinovyatkin/action-php-codesniffer@v1
with:
files: "**.php" # you may customize glob as needed
phpcs_path: php phpcs.phar
standard: phpcs.xml
Error:
TypeError: Cannot read property 'base' of undefined
at Object.getChangedFiles (/home/runner/work/_actions/tinovyatkin/action-php-codesniffer/v1/dist/index.js:27705:37)
at run (/home/runner/work/_actions/tinovyatkin/action-php-codesniffer/v1/dist/index.js:3752:48)
at Object.198 (/home/runner/work/_actions/tinovyatkin/action-php-codesniffer/v1/dist/index.js:3777:1)
at webpack_require (/home/runner/work/_actions/tinovyatkin/action-php-codesniffer/v1/dist/index.js:22:30)
The text was updated successfully, but these errors were encountered:
add to .github/code_standard.yml following and push code to master branch
Error:
TypeError: Cannot read property 'base' of undefined
at Object.getChangedFiles (/home/runner/work/_actions/tinovyatkin/action-php-codesniffer/v1/dist/index.js:27705:37)
at run (/home/runner/work/_actions/tinovyatkin/action-php-codesniffer/v1/dist/index.js:3752:48)
at Object.198 (/home/runner/work/_actions/tinovyatkin/action-php-codesniffer/v1/dist/index.js:3777:1)
at webpack_require (/home/runner/work/_actions/tinovyatkin/action-php-codesniffer/v1/dist/index.js:22:30)
The text was updated successfully, but these errors were encountered: