fix(release): the no-account pusher check reads its file directly, with no pipe (#8095)

This commit is contained in:
Miguel Ángel
2026-11-17 20:27:46 +00:00
committed by GitHub
parent 435dd0e685
commit 7407968882
+1 -1
View File
@@ -129,7 +129,7 @@ jobs:
"$RUNNER_TEMP/activity.json" > "$RUNNER_TEMP/pushers.tsv"
[ -s "$RUNNER_TEMP/pushers.tsv" ] ||
{ echo "::error::no push to $ref is recorded, so who pushed it is unknown"; exit 1; }
! cut -f1 "$RUNNER_TEMP/pushers.tsv" | grep -qx '' ||
! grep -q $'^\t' "$RUNNER_TEMP/pushers.tsv" ||
{ echo "::error::a push to $ref is recorded with no account, so who pushed it is unknown"; exit 1; }
{
echo "$author"