diff --git a/.github/workflows/linux_build_flatpak.yml b/.github/workflows/linux_build_flatpak.yml index 7f980ffe5dd666..2c3c860a00af58 100644 --- a/.github/workflows/linux_build_flatpak.yml +++ b/.github/workflows/linux_build_flatpak.yml @@ -58,6 +58,7 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + set-safe-directory: ${{ env.GITHUB_WORKSPACE }} # Hackity hack. When running the workflow on a schedule, we don't have the tag, # it doesn't fetch tags, therefore we don't get a version. So grab them manually. diff --git a/.github/workflows/scripts/linux/generate-metainfo.sh b/.github/workflows/scripts/linux/generate-metainfo.sh index ee263c05eb3a8c..33b8f42359e6f4 100755 --- a/.github/workflows/scripts/linux/generate-metainfo.sh +++ b/.github/workflows/scripts/linux/generate-metainfo.sh @@ -7,8 +7,6 @@ if [[ $# -lt 1 ]]; then exit 1 fi -git config --global --add safe.directory /__w/pcsx2/pcsx2 - OUTFILE=$1 GIT_DATE=$(git log -1 --pretty=%cd --date=iso8601) GIT_VERSION=$(git tag --points-at HEAD)