We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
hash
force
1 parent a91ee31 commit c80f1aeCopy full SHA for c80f1ae
.github/workflows/update-bundle.yml
@@ -50,8 +50,8 @@ jobs:
50
split -C 50M crypto-ecosystems-bundle.jsonl chunk_
51
52
for chunk in chunk_*; do
53
- uuid=$(uuidgen | tr '[:upper:]' '[:lower:]')
54
- mv "$chunk" "export/${uuid}.jsonl"
+ hash=$(sha256sum "$chunk" | cut -d' ' -f1 | head -c 16)
+ mv "$chunk" "export/${hash}.jsonl"
55
done
56
57
rm crypto-ecosystems-bundle.jsonl
@@ -64,6 +64,5 @@ jobs:
64
echo "No changes to commit"
65
else
66
git commit -m "bot: update crypto-ecosystems bundle chunks"
67
- git pull --rebase origin HEAD || true
68
- git push origin HEAD
+ git push origin HEAD --force-with-lease
69
fi
0 commit comments