Merge pull request 'fix: file-action-issue.sh dedup check: paginate or raise limit beyond 50 (#383)' (#482) from fix/issue-383 into main

This commit is contained in:
johba 2026-03-21 13:19:03 +01:00
commit 9eee90032f

View file

@ -24,7 +24,7 @@ file_action_issue() {
# Dedup: skip if an open action issue for this formula already exists
local open_actions
open_actions=$(codeberg_api GET "/issues?state=open&type=issues&labels=action&limit=50" 2>/dev/null || true)
open_actions=$(codeberg_api_all "/issues?state=open&type=issues&labels=action" 2>/dev/null || true)
if [ -n "$open_actions" ] && [ "$open_actions" != "null" ]; then
local existing
existing=$(printf '%s' "$open_actions" | \