Finally fix git safe directory error

This commit is contained in:
Julien Reichardt 2023-03-05 14:59:56 +01:00
parent dbab786526
commit 739f89d68b
No known key found for this signature in database

View file

@ -11,9 +11,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Mark repository as safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
env:
GIT_AUTHOR_NAME: Flatpak External Data Checker
@ -24,4 +21,5 @@ jobs:
EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: --update --never-fork net.rpcs3.RPCS3.yaml
entrypoint: /bin/sh
args: -c "git config --global --add safe.directory /github/workspace && cd /github/workspace && /app/flatpak-external-data-checker --update --never-fork net.rpcs3.RPCS3.yaml"