From 5c9df6a926229e5d143c5a5e718d4dce73013bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 28 Feb 2025 01:08:02 +0800 Subject: [PATCH] ci: update --- .github/workflows/checksums.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/checksums.yml b/.github/workflows/checksums.yml index 73be580..cf38ec5 100644 --- a/.github/workflows/checksums.yml +++ b/.github/workflows/checksums.yml @@ -16,6 +16,8 @@ jobs: run: | set -e git lfs install --local + git config --global user.name "CI" + git config --global user.email "ci@haozi.net" # disable credentials by actions/checkout for LFS endpoints AUTH=$(git config --local http.${{ github.server_url }}/.extraheader) git config --local --unset http.${{ github.server_url }}/.extraheader @@ -27,8 +29,6 @@ jobs: sha256sum -b "$file" | sed "s|$file|$filename|" > "${file}.sha256"; done unset IFS - - name: Commit changes - uses: actions/git-auto-commit-action@v5 - with: - commit_message: "chore: update checksums" - file_pattern: "*.sha256" + git add -A + git commit -m "chore: update checksums" || true + git push origin ${{ github.ref }}