This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 1863068f0 chore: do not fail PRs that contain emails (#4425)
1863068f0 is described below
commit 1863068f07bd73b7df87eb06b63edad3fd50822a
Author: David Li <[email protected]>
AuthorDate: Mon Jun 22 17:05:50 2026 -0700
chore: do not fail PRs that contain emails (#4425)
GitHub doesn't handle `Assisted-by`/`Generated-by` in commits when
squash merging is turned on, so they need to be in the PR description,
and they shouldn't count as a ping.
---
.github/workflows/dev_pr/body_check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/dev_pr/body_check.py
b/.github/workflows/dev_pr/body_check.py
index 10edbe099..041aa4c51 100755
--- a/.github/workflows/dev_pr/body_check.py
+++ b/.github/workflows/dev_pr/body_check.py
@@ -22,7 +22,7 @@ import re
import sys
import typing
-PING_RE = re.compile(r"@([a-zA-Z0-9\-]+)")
+PING_RE = re.compile(r"(?<![a-zA-Z0-9])@([a-zA-Z0-9\-]+)")
IGNORED_USERNAMES = {"dependabot"}