Fix octokit returning weird results from listWorkflowRuns#95
Conversation
|
Ok. This is not working as expected and I guess the data returned from GitHub contains wrong statuses of workflow runs but I have to check those yet |
|
@dawidd6 this change erd0s@6f3720f will stop you from being able to do "completed,success" right? Just one of the two? |
|
Yep. According to API docs |
|
Maybe like this? erd0s@9073df9, also taking into account comments from @vmirkin-proag |
|
Fixed, thanks |
|
Hello guys, after fix it finds the oldest successful workflow run..., and according to my settings github automatically deletes such old artifacts. Can you have a look again? |
* Add pagination when listing all artifacts (dawidd6#90) Co-authored-by: Nick DeGroot <1966472+nickthegroot@users.noreply.github.com> * main: remove ';' * README: fix * main: throw if no runID * action: only success * README: update * workflows: test empty conclusion * Fix octokit returning weird results from listWorkflowRuns (dawidd6#95) Closes: dawidd6#93 Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com> * README: remove stray dot * download aritfact from latest run which upload an artifact (dawidd6#88) Co-authored-by: Nick DeGroot <nbdegroot1@gmail.com> Co-authored-by: Nick DeGroot <1966472+nickthegroot@users.noreply.github.com> Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com> Co-authored-by: Dirk <dirks@seatfrog.com> Co-authored-by: Tailong <54169577+shitlsh@users.noreply.github.com>
Closes: dawidd6#93 Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
This is the gist, what you think?