From 645f19e60a80abc45c46d8cee7646d0d22eace58 Mon Sep 17 00:00:00 2001 From: Hanna Prinz <hanna_prinz@yahoo.de> Date: Wed, 15 Feb 2023 14:38:30 +0100 Subject: [PATCH] Bump talisman to v1.30.0 and only scan commits instead of git history --- Dockerfile | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1848ecc..1d6ca63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt update && apt install software-properties-common -y && \ add-apt-repository ppa:git-core/ppa -y && \ apt install -y git -ADD ["https://github.com/thoughtworks/talisman/releases/download/v1.28.1/talisman_linux_amd64", "/talisman"] +ADD ["https://github.com/thoughtworks/talisman/releases/download/v1.30.0/talisman_linux_amd64", "/talisman"] RUN chmod +x /talisman COPY entrypoint.sh /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index 169842c..6eae05a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,4 +3,4 @@ set -e sh -c "git config --global --add safe.directory $PWD" -sh -c "echo $* | /talisman --githook pre-push" +sh -c "echo $* | /talisman --ignoreHistory --githook pre-push"