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 }}