diff --git a/.github/workflows/lint-phpcs.yml b/.github/workflows/lint-phpcs.yml index e63a7781..be5bea29 100644 --- a/.github/workflows/lint-phpcs.yml +++ b/.github/workflows/lint-phpcs.yml @@ -1,9 +1,11 @@ name: Lint on: + workflow_dispatch: push: - pull_request: branches: [master] + pull_request: + branches: [master, develop, linter-formatting] permissions: contents: read @@ -23,4 +25,4 @@ jobs: tools: composer, cs2pr, phpcs - name: Run phpcs run: | - phpcs --standard=PSR2 --extensions=php,module,inc,install --ignore=node_modules,bower_components,vendor,3rdparty --warning-severity=0 ./ \ No newline at end of file + phpcs --standard=./ruleset.xml --extensions=php,module,inc,install --ignore=node_modules,bower_components,vendor,3rdparty --warning-severity=0 ./