From e0f8feaf6ff8dc118ff5a6280696a586573c0963 Mon Sep 17 00:00:00 2001 From: Stepan Mayorov Date: Mon, 18 Dec 2023 15:28:24 +0300 Subject: [PATCH] Update lint-phpcs.yml --- .github/workflows/lint-phpcs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 ./