From c628dc692639450f52e657da8c92caea16c619ac Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 19 Jun 2023 03:25:49 +0200 Subject: [PATCH 1/2] Test phpcs on any PR --- .github/workflows/php-cs.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/php-cs.yml b/.github/workflows/php-cs.yml index 6cfb2d6cee6..2f2fcbff153 100644 --- a/.github/workflows/php-cs.yml +++ b/.github/workflows/php-cs.yml @@ -2,9 +2,7 @@ name: GitHub CI Coding Style on: push: - branches: [ "develop" ] pull_request: - branches: [ "develop" ] permissions: contents: read From 8d0a75beceb5ee165563b7ae09f4873cc1989a86 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 19 Jun 2023 03:27:20 +0200 Subject: [PATCH 2/2] Fix call to phpcs --- .github/workflows/php-cs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/php-cs.yml b/.github/workflows/php-cs.yml index 2f2fcbff153..596b72bd03c 100644 --- a/.github/workflows/php-cs.yml +++ b/.github/workflows/php-cs.yml @@ -3,6 +3,7 @@ name: GitHub CI Coding Style on: push: pull_request: + types: [opened] permissions: contents: read