From 3af7a9ca6a90350a18bf240fe200459f5f3c4d24 Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Tue, 13 Dec 2022 10:41:04 +0900 Subject: [PATCH] docs: add notes for the git safe directory feature --- docs/updating.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/updating.md b/docs/updating.md index b0737b5..5df1c68 100644 --- a/docs/updating.md +++ b/docs/updating.md @@ -10,6 +10,7 @@ - At the end of the action run the local repository is now checked out on the branch or commit that it was when the action started. - Any uncommitted tracked or untracked changes are now stashed and restored at the end of the action run. Currently, this can only occur when using the `add-paths` input, which allows for changes to not be committed. Previously, any uncommitted changes would be destroyed. - The proxy implementation has been revised but is not expected to have any change in behaviour. It continues to support the standard environment variables `http_proxy`, `https_proxy` and `no_proxy`. +- The action now sets the git `safe.directory` configuration for the local repository path. The configuration is removed when the action completes. Fixes issue https://github.com/peter-evans/create-pull-request/issues/1170. ## Updating from `v3` to `v4`