Skip to content

Commit 47d0582

Browse files
committed
Fix false positive filtering for block comments
Add filtering for block comments that start with /* This should catch patterns like: /* Example usage: public void method() */
1 parent b4cf906 commit 47d0582

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/mixed-version-compatibility-review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949
grep '^+.*public.*(' | \
5050
grep -v '^+[[:space:]]*//.*public.*(' | \
5151
grep -v '^+.*".*public.*(' | \
52-
grep -v '^+[[:space:]]*\*.*public.*(' || true)
52+
grep -v '^+[[:space:]]*\*.*public.*(' | \
53+
grep -v '^+[[:space:]]*/\*.*public.*(' || true)
5354
5455
if [ -n "$NEW_METHODS" ]; then
5556
echo "::warning::New public methods detected in base classes:"

0 commit comments

Comments
 (0)