Skip to content

Commit 102961e

Browse files
committed
Add more debugging for test purposes
1 parent 21f5b17 commit 102961e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/process-git-request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def process_git_request(fname, target_branch, source_branch, prj_dir):
5858
upstream_diff = False
5959

6060
for logline in loglines:
61-
# print(f"Processing logline {logline}")
61+
print(f"Processing logline {commit_sh}")
6262
lines_counted += 1
6363
if lines_counted == 1:
6464
file.write("Merge Request sha: " + local_diffdiff_sha)
@@ -81,7 +81,7 @@ def process_git_request(fname, target_branch, source_branch, prj_dir):
8181
if "commit" in logline.lower():
8282
commit_sha = re.search(r'[0-9a-f]{40}', logline)
8383
upstream_diffdiff_sha = str(commit_sha.group(0)) if commit_sha else ""
84-
# print("Upstream : " + upstream_diffdiff_sha)
84+
print("Upstream : " + upstream_diffdiff_sha)
8585
if upstream_diffdiff_sha:
8686
file.write("\tUpstream sha: " + upstream_diffdiff_sha)
8787
file.write("\n")

0 commit comments

Comments
 (0)