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 e42a5f8 commit be256cdCopy full SHA for be256cd
hack/update-deps.sh
@@ -22,5 +22,14 @@ source "$(go run knative.dev/hack/cmd/script library.sh)"
22
23
go_update_deps "$@"
24
25
-# Update hack components
26
-make hack-generate-components
+echo ">> args='$@'"
+# This is a guard for running only when its running via bot to update deps and
27
+# potentially create a PR.
28
+# When this is running in 'verify deps' workflow it runs with no arguments.
29
+# We dont want these changes to break the GH Action for all PRs therefore we
30
+# limit this only for dependency bumps.
31
+if [[ $# -gt 0 ]]; then
32
+ echo ">> Running make hack-generate-components"
33
+ # Update hack components
34
+ make hack-generate-components
35
+fi
0 commit comments