From 93c2dd2a48f1e34458b82fe92b022fcf16e38d32 Mon Sep 17 00:00:00 2001 From: Achmad Hadi Kurnia Date: Sat, 6 Jul 2024 12:03:10 +0700 Subject: [PATCH 1/2] test(action): run run-tests.yml on pull_request --- .github/workflows/run-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c0118e0..1013949 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,6 +8,13 @@ on: - 'phpunit.xml.dist' - 'composer.json' - 'composer.lock' + pull_request: + paths: + - '**.php' + - '.github/workflows/run-tests.yml' + - 'phpunit.xml.dist' + - 'composer.json' + - 'composer.lock' jobs: test: From f68c78f272947434078fbb603fd195529f1fd118 Mon Sep 17 00:00:00 2001 From: Achmad Hadi Kurnia Date: Sat, 6 Jul 2024 17:03:55 +0700 Subject: [PATCH 2/2] test(action): remote pull_request scenario on run-tests.yml --- .github/workflows/run-tests.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1013949..c0118e0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,13 +8,6 @@ on: - 'phpunit.xml.dist' - 'composer.json' - 'composer.lock' - pull_request: - paths: - - '**.php' - - '.github/workflows/run-tests.yml' - - 'phpunit.xml.dist' - - 'composer.json' - - 'composer.lock' jobs: test: