After the apparition of a cve and a correction pushed by git, we had an error when building the doc:
Error: fatal: unsafe repository ('/docs' is owned by someone else)
A git command (git log -n 1 --date=short) is issued by the git-revision-date plugin (see here) within the mkdocs container and we cannot apply the workaround git config --global --add safe.directory ... in the container.
We are removing the plugin temporarily (#853) to make the build work.
Expected Behavior
Using the plugin should work (the git log command performed by the plugin should not failed)
Current Behavior
The git command issued by the plugin fails.
Possible Solution
Steps to Reproduce (for bugs)
- Add the plugin git-revision-date in mkdocs.yml
- Let Github Actions run the build
After the apparition of a cve and a correction pushed by git, we had an error when building the doc:
A git command (
git log -n 1 --date=short) is issued by the git-revision-date plugin (see here) within the mkdocs container and we cannot apply the workaroundgit config --global --add safe.directory ...in the container.We are removing the plugin temporarily (#853) to make the build work.
Expected Behavior
Using the plugin should work (the git log command performed by the plugin should not failed)
Current Behavior
The git command issued by the plugin fails.
Possible Solution
Steps to Reproduce (for bugs)