File tree Expand file tree Collapse file tree
.github/workflows/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# At the moment this script will only filter out the easystack files
22# Next step could be to filter out other subpaths
3- # by using the GITHUB action envitonment variables and argsparse.
3+ # by using the GITHUB action environment variables and argsparse.
44
55# Can also distiguish between modified, added, ... files
66# That information is in the string that is generated by git diff
2626 diff_filtered += file + ' '
2727
2828if diff_filtered != '' :
29- # If we will at some point add paths to in diff_filter_path
30- # we'll have to remove '/'
31- # Name of the env_var can than also change based on the file or path
29+ # Todo: Can only handle 1 level paths now
30+ # I we want to pass multi-level paths this will need to be updated
31+ # Name of the env_var can change based on the file or path
3232 env_var = 'CHANGED_' + diff_filter_path .upper ()
3333 set_var = env_var + "=" + diff_filtered
3434
You can’t perform that action at this time.
0 commit comments