This commit is contained in:
parent
c2837bc4e4
commit
5c9df6a926
10
.github/workflows/checksums.yml
vendored
10
.github/workflows/checksums.yml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user