This is a more general approach to what has been proposed in PR #13, as this allows to run external command for each updated module (not just git commit).
Here is an example hook to commit the changes (saved as .git/hooks/commit.sh):
#!/bin/sh
git add go.mod go.sum
git commit -m "chore(deps): bump $1 from $2 to $3"
This is a more general approach to what has been proposed in PR #13, as this allows to run external command for each updated module (not just git commit).
Here is an example hook to commit the changes (saved as .git/hooks/commit.sh):