diff --git a/.github/workflows/fetch-upstream-mods.yml b/.github/workflows/fetch-upstream-mods.yml index da3c154b..f92d3dd6 100644 --- a/.github/workflows/fetch-upstream-mods.yml +++ b/.github/workflows/fetch-upstream-mods.yml @@ -36,13 +36,18 @@ jobs: run: | git remote set-url origin ssh://git@smallgit.dasguney.com:2222/skyline/balatro-mod-index.git - - name: Commit and push + - name: disable lfs lock verification run: | - git config user.name "gitea-bot" - git config user.email "bot@smallgit.dasguney.com" + git config lfs.locksverify false + + - name: commit changes + run: | + git config --global user.name 'jim[bot]' + git config --global user.email 'jim[bot]@users.noreply.github.com' git add mods - if git commit -m "fetch upstream mod changes ($(date --utc +%Y%m%d_%H%M%SZ))"; then - git push + if git commit -m "fetch upstream mod changes (`date --utc +%Y%m%d_%H%M%SZ`)" + then + git push origin main fi