Skip to content

Commit 2fc2f60

Browse files
committed
debug python script
1 parent ef6cb8b commit 2fc2f60

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/scripts/filter_git_diff.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@
99
import os
1010

1111
diff = os.getenv('CHANGED')
12-
env_file = os.getenv('GITHUB_ENV')
12+
#env_file = os.getenv('GITHUB_ENV')
1313

1414
diff_list = diff.split('\n')
1515

1616
diff_filter_path = 'easystacks'
1717

1818
diff_filtered = ''
1919

20-
for file in diff_list:
20+
for line in diff_list:
21+
status = line.split('\t')[0]
22+
file = line.split('\t')[1]
2123
if file.startswith(diff_filter_path):
2224
# Ignoring the status assigned to the file
2325
diff_filtered += file + ' '

0 commit comments

Comments
 (0)