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 }