From 739f89d68b4145f8fb95419c70bc65047f6191df Mon Sep 17 00:00:00 2001 From: Julien Reichardt Date: Sun, 5 Mar 2023 14:59:56 +0100 Subject: [PATCH] Finally fix git safe directory error --- .github/workflows/update.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e00895d..081e1e8 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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"