Fixes #349 ## Changes Add &sort=oldest to the backlog API call in dev/dev-poll.sh (line 401) so issues are picked FIFO instead of the Gitea default LIFO order. Co-authored-by: openhands <openhands@all-hands.dev> Reviewed-on: https://codeberg.org/johba/disinto/pulls/350 Reviewed-by: Disinto_bot <disinto_bot@noreply.codeberg.org>
This commit is contained in:
parent
acd65e3bed
commit
b78b22d830
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ done
|
|||
# =============================================================================
|
||||
log "scanning backlog for ready issues"
|
||||
BACKLOG_JSON=$(curl -sf -H "Authorization: token ${CODEBERG_TOKEN}" \
|
||||
"${API}/issues?state=open&labels=backlog&limit=20&type=issues")
|
||||
"${API}/issues?state=open&labels=backlog&limit=20&type=issues&sort=oldest")
|
||||
|
||||
BACKLOG_COUNT=$(echo "$BACKLOG_JSON" | jq 'length')
|
||||
if [ "$BACKLOG_COUNT" -eq 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue