From 4d9a914b6d5fdd5b3afc3345d5ab08c84d0d512e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Svantesson?= Date: Tue, 2 Jul 2024 10:54:10 +0200 Subject: [PATCH] fix: unsafe repository error in actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MÃ¥rten Svantesson --- .github/workflows/jenkins-x/changelog.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/jenkins-x/changelog.sh b/.github/workflows/jenkins-x/changelog.sh index 53bc6897..0b347913 100755 --- a/.github/workflows/jenkins-x/changelog.sh +++ b/.github/workflows/jenkins-x/changelog.sh @@ -13,5 +13,7 @@ else echo no charts fi +# See https://github.com/actions/checkout/issues/766 +git config --global --add safe.directory "$GITHUB_WORKSPACE" jx changelog create --verbose --header-file=hack/changelog-header.md --version=$VERSION --rev=$PULL_BASE_SHA --output-markdown=changelog.md --update-release=false