From 41a74c726e332c4d9adeef876d60766f0c09c33a Mon Sep 17 00:00:00 2001 From: Sagar Khalasi Date: Fri, 9 Aug 2024 13:51:20 +0530 Subject: [PATCH] Added dispatch command for running manually --- .../workflows/build-client-server-count.yml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.github/workflows/build-client-server-count.yml b/.github/workflows/build-client-server-count.yml index 9301294bdcac..021d6a5f5bbc 100644 --- a/.github/workflows/build-client-server-count.yml +++ b/.github/workflows/build-client-server-count.yml @@ -3,6 +3,41 @@ name: Build Client, Server & Run only Cypress with count on: repository_dispatch: types: [ci-test-limit-count-command] + workflow_dispatch: + inputs: + pr: + description: "PR number" + required: false + type: number + default: 0 + previous-workflow-run-id: + description: "Workflow ID (To Download cicontainer)" + required: false + type: number + default: 0 + run_count: + description: 'Number of times to repeat the test run' + required: false + type: number + default: 1 + + + workflow_call: + inputs: + pr: + description: "This is the PR number in case the workflow is being called in a pull request" + required: false + type: number + previous-workflow-run-id: + description: "This is the PR number in case the workflow is being called in a pull request" + required: false + type: number + default: 0 + run_count: + description: 'Number of times to repeat the test run' + required: false + type: number + default: 1 jobs: file-check: