Skip to content

Commit

Permalink
Merge branch 'lukas/gh/prune-large-files-pr-to-10GB-limit'
Browse files Browse the repository at this point in the history
* lukas/gh/prune-large-files-pr-to-10GB-limit:
  gh: Purge the correct target dir
  • Loading branch information
garazdawi committed Jun 5, 2023
2 parents adfb87f + 50f9df8 commit b233706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/sync-github-prs.es
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b233706

Please sign in to comment.