Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions hack/update-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,14 @@ source "$(go run knative.dev/hack/cmd/script library.sh)"

go_update_deps "$@"

# Update hack components
make hack-generate-components
echo ">> args='$@'"
# This is a guard for running only when its running via bot to update deps and
# potentially create a PR.
# When this is running in 'verify deps' workflow it runs with no arguments.
# We dont want these changes to break the GH Action for all PRs therefore we
# limit this only for dependency bumps.
if [[ $# -gt 0 ]]; then
echo ">> Running make hack-generate-components"
# Update hack components
make hack-generate-components
fi
Loading