fix(toolchain): is_pr detection check value not key #47

Merged
pangtong-fujunshi merged 1 commits from fix/is-pr-detection into main 2026-06-12 13:15:59 +00:00

1 Commits

Author SHA1 Message Date
cfdaily a8a1886f27 fix(toolchain): is_pr detection - check value not key existence
CI / lint (pull_request) Successful in 7s
CI / test (pull_request) Successful in 8s
CI / notify-on-failure (pull_request) Successful in 0s
Gitea Issue API returns pull_request: null for pure Issues (key exists but
value is None). 'pull_request' in issue was always True, causing all Issue
@mention mails to show 'PR #N' instead of 'Issue #N'.

Fix: issue.get('pull_request') is not None
2026-06-12 20:26:02 +08:00