Open devbranch-vitaliy opened 3 years ago
I have the same on my first try. Looking elsewhere I guess
Looks like the same issue reported on the reviewdog queue: reviewdog/reviewdog#484
Has anyone solved this? Having this issue on only one of our repos.
Never mind, got it. The problem (for me) was too many files. The solution was to create a custom phpcs.xml
in the project root and point to it from the phpcs.yml
:
name: reviewdog
on: [pull_request]
jobs:
linter_name:
name: runner / phpcs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: oohnoitz/action-phpcs-wordpress@v1
with:
github_token: ${{ secrets.GH_BOT_TOKEN }}
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
reporter: github-pr-check
# Change reporter level if you need.
# GitHub Status Check won't become failure with warning.
level: error
phpcs_standard: './phpcs.xml'
Now it works fully. 👍
Don't work for me :( fail everytime.