diff --git a/.forgejo/workflows/dependency_check.yaml b/.forgejo/workflows/dependency_check.yaml index 6d48c81..08ad0f3 100644 --- a/.forgejo/workflows/dependency_check.yaml +++ b/.forgejo/workflows/dependency_check.yaml @@ -26,7 +26,7 @@ jobs: npm install git config --global user.name "forgejo-bot" git config --global user.email "bot@pweapon.org" - git add package.json || exit 0 + git add package* || exit 0 git commit -m "chore: update minor dependencies" git push origin HEAD:${GITHUB_REF#refs/heads/} env: diff --git a/scripts/configure.sh b/scripts/configure.sh index a83e026..c6af0eb 100755 --- a/scripts/configure.sh +++ b/scripts/configure.sh @@ -1,11 +1,6 @@ #!/bin/bash -# -# An example hook script to verify what is about to be committed. -# Called by "git commit" with no arguments. The hook should -# exit with non-zero status after issuing an appropriate message if -# it wants to stop the commit. -# -# To enable this hook, rename this file to "pre-commit". + +## Configures pre commit hook for the current repos set -e