We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d96588d commit 2c145d1Copy full SHA for 2c145d1
.github/actions/discovery.sh
@@ -74,8 +74,8 @@ else
74
fi
75
done
76
else
77
- # Get all inputs
78
- inputs=$(echo "$metadata" | jq -r '.locks.nodes | to_entries[] | select(.key != "root") | .key' | sort)
+ # Get only direct inputs (not transitive dependencies)
+ inputs=$(echo "$metadata" | jq -r '.locks.nodes.root.inputs | keys[]' | sort)
79
80
for input in $inputs; do
81
current_rev=$(echo "$metadata" | jq -r ".locks.nodes.\"$input\".locked.rev // \"unknown\"" | head -c 8)
0 commit comments