Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov committed Jan 9, 2025
1 parent 462f75c commit ecfa6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/is_autogenerated_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FILEPATH="$1"

grep -q "Code generated by gtrace. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0
grep -q "Code generated by MockGen. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0
grep -qE "Code generated from (YQLv1Antlr4.g4|SQLv1Antlr4.g4) by ANTLR [4-9]+\.[0-9]+\.[0-9]+\. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0
grep -qE "Code generated from YQL.g4 by ANTLR [4-9]+\.[0-9]+\.[0-9]+\. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0

echo NO
exit 0

0 comments on commit ecfa6ea

Please sign in to comment.