File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 39
39
# Discover changes
40
40
git show origin/${{ github.base_ref }}:sherlock_project/resources/data.json > data.json.base
41
41
CHANGED=$(
42
- jq --slurpfile base data.json.base --slurpfile head sherlock_project/resources/data.json '
42
+ jq -r - -slurpfile base data.json.base --slurpfile head sherlock_project/resources/data.json '
43
43
[
44
44
($head[0] | keys_unsorted[]) as $key
45
45
| select(($base[0][$key] != $head[0][$key]) or ($base[0][$key] | not))
48
48
)
49
49
50
50
# Preserve changelist
51
- echo ">>> Changed targets: \n$(echo $CHANGED | tr ',' '\n')"
51
+ echo -e ">>> Changed targets: \n$(echo $CHANGED | tr ',' '\n')"
52
52
echo "changed_targets=$CHANGED" >> "$GITHUB_OUTPUT"
53
53
54
54
- name : Validate modified targets
You can’t perform that action at this time.
0 commit comments