Add issue test
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user