chore(release) backport check_version_markers fix from #3880

Excludes the "release" directory from the version checks
diff --git a/.github/workflows/check_version_markers.sh b/.github/workflows/check_version_markers.sh
index b8d35ae..15a0a67 100755
--- a/.github/workflows/check_version_markers.sh
+++ b/.github/workflows/check_version_markers.sh
@@ -20,9 +20,8 @@
 # Exclude CONTRIBUTING.md, RELEASING.md because they document how to use these strings.
 grep --exclude=CONTRIBUTING.md \
   --exclude=RELEASING.md \
-  --exclude=release.py \
-  --exclude=release_test.py \
   --exclude-dir=.* \
+  --exclude-dir=release \
   VERSION_NEXT_ -r || grep_exit_code=$?
 
 if [[ $grep_exit_code -eq 0 ]]; then