From d8a9f6e38b1c1d2ac23d43c970b6a3f10b6951fd Mon Sep 17 00:00:00 2001 From: rafsaf Date: Sun, 15 Oct 2023 19:05:33 +0200 Subject: [PATCH] git gh update script --- scripts/gh_update_dbs_with_pr.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/gh_update_dbs_with_pr.sh b/scripts/gh_update_dbs_with_pr.sh index 848899f..fc7ea59 100755 --- a/scripts/gh_update_dbs_with_pr.sh +++ b/scripts/gh_update_dbs_with_pr.sh @@ -3,7 +3,10 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) DB_COMPOSE_FILE="$SCRIPT_DIR/../docker/docker-compose.dbs.yml" cd $SCRIPT_DIR/../ -DIFF=$(git diff $DB_COMPOSE_FILE) +git config user.name "GitHub Actions Bot" +git config user.email "<>" +git status +DIFF=$(git diff origin/main $DB_COMPOSE_FILE) if [ "$DIFF" = "" ] then echo "no changes detected"