From e6259ade8c8e233e8a88928a8b16b07f209a3b8c Mon Sep 17 00:00:00 2001 From: Omkar Khatavkar Date: Wed, 25 Oct 2023 17:04:01 +0530 Subject: [PATCH] fixing the memory issue in auto-cherry-pick GHA (#996) (cherry picked from commit 4e955401302b694ef4638bf3cb11fedf553aa43a) --- .github/workflows/auto_cherry_pick.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/auto_cherry_pick.yml b/.github/workflows/auto_cherry_pick.yml index 252095f3..c947283b 100644 --- a/.github/workflows/auto_cherry_pick.yml +++ b/.github/workflows/auto_cherry_pick.yml @@ -39,6 +39,11 @@ jobs: label: ${{ github.event.pull_request.labels.*.name }} steps: + # Needed to avoid out-of-memory error + - name: Set Swap Space + uses: pierotofy/set-swap-space@master + with: + swap-size-gb: 10 ## Nailgun Repo Checkout - uses: actions/checkout@v3 if: ${{ startsWith(matrix.label, '6.') && matrix.label != github.base_ref }}