From 887c31bd838a40c4da09953b6df364b5439bd7c3 Mon Sep 17 00:00:00 2001 From: Pascal Zimmermann Date: Mon, 25 Apr 2022 01:32:41 +0200 Subject: [PATCH] Update the documentation (#114) --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e828e7b..e1c30fa 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,17 @@ jobs: | directory | string | '.' | Directory to change to before pushing. | | repository | string | '' | Repository name.
Default or empty repository name represents
current github repository.
If you want to push to other repository,
you should make a [personal access token](https://github.com/settings/tokens)
and use it as the `github_token` input. | +## Troubeshooting + +Please be aware, if your job fails and the corresponding output log looks like the following error, update your used verson of the action to `ad-m/github-push-action@master`: +```log +Push to branch *************** +fatal: unsafe repository ('/github/workspace' is owned by someone else) +To add an exception for this directory, call: + + git config --global --add safe.directory /github/workspace +``` + ## License The Dockerfile and associated scripts and documentation in this project are released under the [MIT License](LICENSE).