mirror of
https://github.com/fastapi/fastapi.git
synced 2026-02-23 10:25:02 -05:00
💚 Fix/workaround GitHub Actions in Docker with git for FastAPI People (#9169)
This commit is contained in:
committed by
GitHub
parent
be54d44b0c
commit
a8bde44029
3
.github/workflows/people.yml
vendored
3
.github/workflows/people.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user