From 89b38974bfb13e02edfaacae86723f33f2b6b5af Mon Sep 17 00:00:00 2001 From: Raju Ghimire <159091428+Raju00533@users.noreply.github.com> Date: Mon, 19 May 2025 10:36:34 +0545 Subject: [PATCH 1/3] Update pr-code-sniff.yml --- .github/workflows/pr-code-sniff.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-code-sniff.yml b/.github/workflows/pr-code-sniff.yml index 75ec4cdbe..b5c8db41f 100644 --- a/.github/workflows/pr-code-sniff.yml +++ b/.github/workflows/pr-code-sniff.yml @@ -1,5 +1,8 @@ name: Run code sniff on PR -on: pull_request +on: + push: + branches: + -Automation-actions-Fix jobs: test: name: Code sniff (PHP 7.4 , WP Latest) @@ -23,7 +26,7 @@ jobs: composer --version - name: Get cached composer directories - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ./vendor key: ${{ runner.os }}-${{ hashFiles('./composer.lock') }} From aa3969b23c2f39ecec27f43dd30d73524ce5161b Mon Sep 17 00:00:00 2001 From: Raju Ghimire <159091428+Raju00533@users.noreply.github.com> Date: Mon, 19 May 2025 10:46:12 +0545 Subject: [PATCH 2/3] Update pr-code-sniff.yml --- .github/workflows/pr-code-sniff.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-code-sniff.yml b/.github/workflows/pr-code-sniff.yml index b5c8db41f..7e4b12db0 100644 --- a/.github/workflows/pr-code-sniff.yml +++ b/.github/workflows/pr-code-sniff.yml @@ -2,7 +2,7 @@ name: Run code sniff on PR on: push: branches: - -Automation-actions-Fix + - Automation-actions-Fix jobs: test: name: Code sniff (PHP 7.4 , WP Latest) From 7159ccc1109e3d062a9948dc530e200d6f1601f1 Mon Sep 17 00:00:00 2001 From: Raju Ghimire <159091428+Raju00533@users.noreply.github.com> Date: Mon, 19 May 2025 10:48:49 +0545 Subject: [PATCH 3/3] Fix: - Ready to merge with the develop branch. --- .github/workflows/pr-code-sniff.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/pr-code-sniff.yml b/.github/workflows/pr-code-sniff.yml index 7e4b12db0..5a4315ec9 100644 --- a/.github/workflows/pr-code-sniff.yml +++ b/.github/workflows/pr-code-sniff.yml @@ -1,8 +1,5 @@ name: Run code sniff on PR -on: - push: - branches: - - Automation-actions-Fix +on: pull_request jobs: test: name: Code sniff (PHP 7.4 , WP Latest)