💚 Fix/workaround GitHub Actions in Docker with git for FastAPI People (#9169)

This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2023-03-02 13:06:57 +00:00
1 parent be54d44b0c
commit a8bde44029
1 file changed
+3
+3
View File
@@ -15,6 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Ref: https://github.com/actions/runner/issues/2033
- name: Fix git safe.directory in container
run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
# Allow debugging with tmate
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3