-
Notifications
You must be signed in to change notification settings - Fork 100
Order of PRs when set every to true #27
Comments
Order doesn't matter to Concourse. Given a list it just iterates through them one at a time with I don't quite understand |
Sorry but it seems the mechanism of My problem here is while testing example pipeline of this repo with And I tested similar case with concourse git resource, when the resource changed from |
I see. Alright, I'll get a fix out for this soon. |
I don't think just putting them in reverse order will solve this problem. The github api is returning the PRs in descending updated order, so it should already be doing the proposed newest to oldest. I think we are experiencing a different issue. |
Concourse expects chronological order, so the most-recently-updated version should be last. Not sure if that's what GitHub's API does - I'd think it'd be the opposite. |
Alright, let's see if aa6b97c resolves this. |
Please reopen this issue if you have problems with it passed v15. |
Hi, when set
every: true
insource
, the PRs returned by check should be ordered from latest to oldest. Because when setversion: every
at get, it starts from the version after the most recently used and move forward. In current order(oldest to latest), new PRs can never be iterated to.The text was updated successfully, but these errors were encountered: