fix: parent max of 10

This commit is contained in:
ibo
2024-06-19 22:20:42 +02:00
committed by GitHub
parent 8cc89b608a
commit 57fe90ce71

View File

@@ -37,7 +37,7 @@ jobs:
LAST_SHA=$(cat last_sha.txt)
else
# Fallback to first commit if no previous SHA available
LAST_SHA=$(git rev-list --max-parents=0 HEAD)
LAST_SHA=$(git rev-list --max-parents=10 HEAD)
fi
echo "Commits since $LAST_SHA:"
# Accumulate commit logs in a shell variable
@@ -117,7 +117,7 @@ jobs:
--arg timestamp "$(date -u +%Y-%m-%dT%H:%M:%S.000Z)" \
--arg thumbnail_url "https://avatars.githubusercontent.com/u/41344259?v=4" \
'{
"content": "everyone",
"content": "@everyone",
"embeds": [
{
"title": "New Alpha-Build dropped",