From 457049fe8d6e9bf8f2ecab019de91fc7f96b3826 Mon Sep 17 00:00:00 2001 From: Sascha Bratton Date: Thu, 2 Jul 2026 13:13:24 -0400 Subject: [PATCH] docs: correct HOME-relative credential examples --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 765d9d8..c94571d 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ For more scenarios see [examples](#examples) section. - Use: `act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04` - Git `dubious ownership` errors in [container jobs](https://docs.github.com/en/actions/using-containerized-services/running-jobs-in-a-container) are handled automatically - the action retries with a temporary `HOME` containing a `safe.directory` entry, the same technique used by [actions/checkout](https://github.com/actions/checkout). - Only if fetching relies on credentials stored in `HOME`-relative files (e.g. `~/.git-credentials` or `~/.ssh` keys), + Only if fetching relies on credentials stored in `HOME`-relative files (e.g. `~/.git-credentials` or `~/.netrc`), mark the repository as safe yourself in a step before this action: `git config --global --add safe.directory "$GITHUB_WORKSPACE"` ## What's New