From b2d0a49f7220bd1b9ec405abfadfb44ba4127795 Mon Sep 17 00:00:00 2001 From: omkarkhatavkar Date: Fri, 15 Sep 2023 18:36:45 +0530 Subject: [PATCH] fixing the memory issue in auto-cherry-pick GHA --- .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 }}