fix(mosaic-tools): pass explicit Gitea repo args

This commit is contained in:
Jarvis
2026-05-26 14:29:42 -05:00
parent 6422c65961
commit 4a7bebb1cc
11 changed files with 107 additions and 41 deletions

View File

@@ -98,10 +98,11 @@ case "$PLATFORM" in
"${CMD[@]}"
;;
gitea)
CMD=(tea issues list --repo "$REPO_INFO" --state "$STATE" --limit "$LIMIT")
CMD=(tea issues list --repo "$REPO_INFO" --login "${GITEA_LOGIN:-mosaicstack}" --state "$STATE" --limit "$LIMIT")
[[ -n "$LABEL" ]] && CMD+=(--labels "$LABEL")
[[ -n "$MILESTONE" ]] && CMD+=(--milestones "$MILESTONE")
[[ -n "$ASSIGNEE" ]] && CMD+=(--assignee "$ASSIGNEE")
# Note: tea may not support assignee filter directly in all versions.
[[ -n "$ASSIGNEE" ]] && echo "Note: Assignee filtering may require manual review for Gitea" >&2
"${CMD[@]}"
;;
*)