From 972d87e0eeef014b0d80170572cd5e7d7d99a885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Chodo=C5=82a?= <43241881+kamilchodola@users.noreply.github.com> Date: Wed, 26 Apr 2023 20:31:28 +0200 Subject: [PATCH] Update action.yml --- action.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/action.yml b/action.yml index 9828003..07ea53b 100644 --- a/action.yml +++ b/action.yml @@ -14,6 +14,14 @@ inputs: description: 'Maximum time script will wait to workflow run to be found in minutes' required: true default: '5' + interval: + description: 'Interval in seconds which will be used for GitHub API calls.' + required: true + default: '10' + timeout: + description: 'Maximum time script will wait to workflow run to be finished' + required: true + default: '30' org_name: description: 'GitHub organization name' required: true @@ -34,6 +42,8 @@ runs: WORKFLOW_ID: ${{ inputs.workflow_id }} RUN_ID: ${{ inputs.run_id }} MAX_WAIT_MINUTES: ${{ inputs.max_wait_minutes }} + INTERVAL: ${{ inputs.interval }} + TIMEOUT: ${{ inputs.timeout }} ORG_NAME: ${{ inputs.organization }} REPO_NAME: ${{ inputs.repository }} REF: ${{ inputs.ref }