Revert "fix(workflows): fix commit ID error in push events mode (#9231)"

This reverts commit 8cd424023e.
This commit is contained in:
rongyichang
2025-11-12 14:39:09 +08:00
committed by VIFEX
parent 8cd424023e
commit cafeb18455
-3
View File
@@ -143,9 +143,6 @@ jobs:
echo "Merge-base: $MB"
python scripts/check_gcov_coverage.py --commit="${MB}...${{ github.event.pull_request.head.sha }}"
else
# For push events, fetch enough history to resolve HEAD^
git fetch --no-tags --prune --depth=2 origin
echo "Using HEAD commit for push event"
python scripts/check_gcov_coverage.py --commit=HEAD
fi
- name: Archive screenshot errors