From 4158e3b82aec5b96930d7d87f3f848af3f02d06c Mon Sep 17 00:00:00 2001 From: Julien Loizelet Date: Fri, 24 May 2024 14:16:42 +0900 Subject: [PATCH] fix(keepalive): Run keepalive step only for scheduled run --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 6a167f3..33b6e99 100644 --- a/action.yaml +++ b/action.yaml @@ -108,7 +108,7 @@ runs: # keepalive-workflow keeps GitHub from turning off tests after 60 days - uses: gautamkrishnar/keepalive-workflow@v2 - if: always() && matrix.ddev_version == 'stable' && inputs.keepalive == 'true' + if: always() && matrix.ddev_version == 'stable' && inputs.keepalive == 'true' && github.event_name == 'schedule' with: time_elapsed: ${{ inputs.keepalive_time_elapsed }}