fix: file-action-issue.sh dedup check: paginate or raise limit beyond 50 (#383)
Replace codeberg_api GET with codeberg_api_all for the dedup fetch, which paginates through all open action issues instead of capping at 50. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bb8b3e92fb
commit
aebda221f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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" | \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue