From 64b956687d38cb0078671838630641391a22fda6 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:38:37 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8657099..377e352 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ This GitHub Action waits for a specified workflow to complete before proceeding | `GITHUB_TOKEN` | GitHub token to access the repository and its APIs | Yes | | | `workflow_id` | ID of the workflow to wait for | No | | | `run_id` | If provided will wait for workflow run with specified id | No | | -| `max_wait_minutes`| Maximum wait time in minutes before giving up | No | 5 | +| `max_wait_minutes`| Maximum time script will wait to workflow run to be found in minutes | No | 5 | +| `interval`| Interval in seconds which will be used for GitHub API calls | No | 10 | +| `timeouts`| Maximum time script will wait to workflow run to be finished | No | 30 | | `organization` | Organization name where the repository is located | Yes | | | `repository` | Repository name to monitor for the workflow run | Yes | | | `ref` | Branch reference to watch for the workflow run | No | | @@ -46,6 +48,8 @@ To use this action, add it to your workflow file with the appropriate inputs: GITHUB_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }} workflow_id: 'workflow_name.yml' max_wait_minutes: '3' + interval: '5' + timeout: '60' organization: 'your-organization' repository: 'your-repository' ref: ${{ github.ref }}