diff --git a/.github/scripts/sync-github-prs.es b/.github/scripts/sync-github-prs.es index 89edf7133d54..a78c16505894 100755 --- a/.github/scripts/sync-github-prs.es +++ b/.github/scripts/sync-github-prs.es @@ -161,7 +161,7 @@ purge_suite(SuiteFilePath) -> %% github actions will not work them. So we purge the largest files until we %% reach the 10 GB limit. purge_prs(Target) -> - Files = string:split(cmd("find prs -type f -exec du -a {} \+"),"\n",all), + Files = string:split(cmd("find " ++ Target ++ " -type f -exec du -a {} \+"),"\n",all), SortedFiles = lists:sort(fun([A|_]=As,[B|_]=Bs) -> binary_to_integer(A) >= binary_to_integer(B)