From aeed2a779e0e6b29062bb3ff01e9ed9b95698c92 Mon Sep 17 00:00:00 2001 From: Florian Pesth Date: Wed, 15 Nov 2023 11:41:55 +0100 Subject: [PATCH] Update phpcs_psr12.yml --- .github/workflows/phpcs_psr12.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/phpcs_psr12.yml b/.github/workflows/phpcs_psr12.yml index f6f2948..cf2870e 100644 --- a/.github/workflows/phpcs_psr12.yml +++ b/.github/workflows/phpcs_psr12.yml @@ -1,14 +1,6 @@ name: "CI" -on: - workflow_dispatch: - paths: - - "**.php" - - "html" - pull_request: - paths: - - "**.php" - - "html" +on: [workflow_dispatch, pull_request] jobs: phpcs: @@ -27,6 +19,6 @@ jobs: - uses: tinovyatkin/action-php-codesniffer@v1 with: - files: "**.php" # you may customize glob as needed + files: "html/*.php" phpcs_path: php phpcs.phar standard: PSR12