Add issue test

This commit is contained in:
Pinghua
2026-06-12 15:25:50 +08:00
parent c6d72b425c
commit e572d69dda
2 changed files with 122 additions and 1 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ def post_review(gitea_url, api_token, target_repo, pr_num, review):
# ── Issue endpoints ─────────────────────────────────────────────────────
_ISSUE_REF_RE = re.compile(
r"(?:fixe?s?|close?s?|resolve?s?|refs?|see)\s+"
r"(?:fixe?s?|close?s?|resolve?s?|refs?|see)[\s:]+"
r"((?:[\w.-]+/[\w.-]+)?#\d+)",
re.IGNORECASE,
)