Skip to content

Commit

Permalink
waaugh
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Sep 14, 2023
1 parent 3d41a9c commit 9e87b03
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tools/ci/check_regex.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,23 +803,21 @@ def git_get_detached_head_ref(head: Head, ref_info: str) -> str:
#Github actions annotations
if args.github_actions and matching != RESULT_OK:
for line_no in adds:
output_write("::error file=%s,line=%i,title=%s::%s" % (
output_write("::error file=%s,line=%i,title=Check Regex::%s" % (
f,
line_no,
standard.message,
diff_added_content[f][line_no]
standard.message
), to_stdout=True, to_file=False)
inner_prefix = prefix
if len(removes):
show_items.append("------- (%4i): %s" % (len(removes), removes))
#Github actions annotations
if args.github_actions and matching != RESULT_OK:
for line_no in removes:
output_write("::error file=%s,line=%i,title=%s::%s" % (
output_write("::error file=%s,line=%i,title=Check Regex::%s" % (
f,
line_no,
standard.message,
diff_removed_content[f][line_no]
standard.message
), to_stdout=True, to_file=False)
inner_prefix = prefix

Expand Down

0 comments on commit 9e87b03

Please sign in to comment.