mirror of
https://github.com/espressif/openthread.git
synced 2026-10-10 01:37:38 +00:00
[size-report] checkout pull request head (#11724)
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ set -euo pipefail
|
||||
OT_TMP_DIR=/tmp/ot-size-report
|
||||
readonly OT_TMP_DIR
|
||||
|
||||
OT_SHA_NEW=${GITHUB_SHA:-$(git rev-parse HEAD)}
|
||||
OT_SHA_NEW="$(git rev-parse HEAD)"
|
||||
readonly OT_SHA_NEW
|
||||
|
||||
OT_SHA_OLD="${OT_SHA_OLD:-$(git cat-file -p "${OT_SHA_NEW}" | grep 'parent ' | head -n1 | cut -d' ' -f2)}"
|
||||
|
||||
Reference in New Issue
Block a user