Skip to content

Commit 887c31b

Browse files
authored
Update the documentation (ad-m#114)
1 parent f579af7 commit 887c31b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ jobs:
5050
| directory | string | '.' | Directory to change to before pushing. |
5151
| repository | string | '' | Repository name. <br /> Default or empty repository name represents <br /> current github repository. <br /> If you want to push to other repository, <br /> you should make a [personal access token](https://github.com/settings/tokens) <br /> and use it as the `github_token` input. |
5252

53+
## Troubeshooting
54+
55+
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`:
56+
```log
57+
Push to branch ***************
58+
fatal: unsafe repository ('/github/workspace' is owned by someone else)
59+
To add an exception for this directory, call:
60+
61+
git config --global --add safe.directory /github/workspace
62+
```
63+
5364
## License
5465

5566
The Dockerfile and associated scripts and documentation in this project are released under the [MIT License](LICENSE).

0 commit comments

Comments
 (0)