From 5530f66daafdb1b141e295cce23eaf85d35602d7 Mon Sep 17 00:00:00 2001 From: ashishj1729 Date: Fri, 7 Nov 2025 19:00:44 +0530 Subject: [PATCH] Change the Checkout-Strategy Changing the Checkout-Strategy to pull refs Issue-Id: AIMLFW-310 Change-Id: I28d36914b07ab70047b21e64d3738d8c1dab678d Signed-off-by: ashishj1729 --- .github/workflows/gerrit-verify.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index c842a68..36475a8 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -72,8 +72,15 @@ jobs: timeout-minutes: 20 steps: - - name: Checkout - uses: actions/checkout@v4 + - name: Gerrit checkout + # yamllint disable-line rule:line-length + uses: lfreleng-actions/checkout-gerrit-change-action@54d751e8bd167bc91f7d665dabe33fae87aaaa63 # v0.9 + with: + gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }} + gerrit-project: ${{ inputs.GERRIT_PROJECT }} + gerrit-url: ${{ vars.GERRIT_URL }} + delay: "0s" + ref: refs/heads/${{ inputs.GERRIT_BRANCH }} - name: Clone dep repo run: git clone https://github.com/o-ran-sc/aiml-fw-aimlfw-dep.git -- 2.16.6