diff --git a/.github/workflows/linutil.yml b/.github/workflows/linutil.yml index 5b6a90db..def40104 100644 --- a/.github/workflows/linutil.yml +++ b/.github/workflows/linutil.yml @@ -43,10 +43,11 @@ jobs: run: | mv build/x86_64-unknown-linux-musl/release/linutil build/linutil mv build/aarch64-unknown-linux-musl/release/linutil build/linutil-aarch64 - - name: Fetch latest changes + - name: Pull latest changes run: | - git fetch origin main - git reset --hard origin/main + git config --global user.email "github-actions@github.com" + git config --global user.name "GitHub Actions" + git pull origin main - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Commit Linutil