Skip to content

Add a wait option for jobs dispatched #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,26 @@ inputs:
description: A flat JSON object, only supports strings, numbers, and booleans (as per workflow inputs API).
workflow_timeout_seconds:
description: Time until giving up waiting for the start of the workflow run.
default: 300
default: "300"
workflow_job_steps_retry_seconds:
description: |
The interval (in seconds) to wait between retries. A linear backoff strategy is used, where the wait time
increases by this value with each attempt (e.g., 1st retry = this value, 2nd retry = 2x this value, etc.).
default: 5
default: "5"
distinct_id:
description: Specify a static string to use instead of a random distinct ID.
wait_for_run_completed:
description: Wait for the workflow run to complete.
default: "false"
max_completed_fetch_attempts:
description: The maximum number of attempts to fetch the completed status workflow run.
default: "30"
max_completed_fetch_interval:
description: The time to wait between attempts to fetch the completed status workflow run (in seconds).
default: "10"
propagate_failures:
description: Propagate failures from downstream jobs.
default: "false"

runs:
using: node20
Expand Down
634 changes: 361 additions & 273 deletions dist/index.mjs

Large diffs are not rendered by default.

Loading