Open sfawcett123 opened 3 years ago
By default, listForRef() in poll.ts returns the latest. However, I believe the problem is that without any delay before the call to listForRef(), at times the status from a previous run is returned. See #32 for a proposed solution.
Great tool however, I have hit an occasional problem.
When I run the action and the waiting action fails. if I re-run the parent action it immediately sees there has been a previous run with a failure and fails, without waiting for the second run.
The code I run is:
Retrieving check runs named Deploy Development on DFE-Digital/get-into-teaching-api@refs/heads/master... Retrieved 1 check runs named Deploy Development Found a completed check with id 1644407390 and conclusion failure
Is there any chance of a flag that allows 'latest-run: true' so it ignores previous runs?