mirror of
https://github.com/espressif/openthread.git
synced 2026-08-30 05:49:54 +00:00
[size-report] checkout pull request head (#11724)
This commit is contained in:
@@ -54,6 +54,14 @@ get_pr_body()
|
||||
{
|
||||
local pr
|
||||
|
||||
if [[ -z ${PR_BODY+x} ]]; then
|
||||
echo 'PR_BODY is not set' >&2
|
||||
else
|
||||
echo 'PR_BODY is set' >&2
|
||||
echo "${PR_BODY}"
|
||||
return 0
|
||||
fi
|
||||
|
||||
[[ ${GITHUB_ACTIONS+x} && ${GITHUB_REF-} =~ ^refs/pull/[0-9]+/merge ]] || {
|
||||
echo 'Not a pull request.' >&2
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user