Skip to content
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

wait for $timeout seconds before failing with no runs #4

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kleinschmidt
Copy link
Member

When using this action as a step in a workflow to get the runs associated with
another workflow for the same commit, there can be a race condition where the
first workflow run has not yet started, so no runs are detected. This adds a
timeout which defaults to 10s.

@kleinschmidt kleinschmidt marked this pull request as draft January 21, 2025 18:10
@@ -12,6 +12,10 @@ inputs:
status:
required: true
default: "any"
timeout:
default: 30
poll_interval:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
poll_interval:
poll-interval:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants