Browse Source

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

pull/9171/head
Sebastián Ramírez 2 years ago
committed by GitHub
parent
commit
a8bde44029
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/people.yml

3
.github/workflows/people.yml

@ -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

Loading…
Cancel
Save