From c2837bc4e4c2dcd68053f738e9f395027ab7ff4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= <i@haozi.net> Date: Fri, 28 Feb 2025 00:57:19 +0800 Subject: [PATCH] ci: update --- .github/workflows/checksums.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checksums.yml b/.github/workflows/checksums.yml index 5e97831..73be580 100644 --- a/.github/workflows/checksums.yml +++ b/.github/workflows/checksums.yml @@ -26,7 +26,9 @@ jobs: filename=$(basename "$file"); sha256sum -b "$file" | sed "s|$file|$filename|" > "${file}.sha256"; done - git add -A - git commit -m "chore: update checksums" || true - git push origin ${{ github.ref }} unset IFS + - name: Commit changes + uses: actions/git-auto-commit-action@v5 + with: + commit_message: "chore: update checksums" + file_pattern: "*.sha256"