From: ashishj1729 Date: Fri, 7 Nov 2025 13:30:44 +0000 (+0530) Subject: Change the Checkout-Strategy X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=5530f66daafdb1b141e295cce23eaf85d35602d7;p=aiml-fw%2Fawmf%2Fmodelmgmtservice.git Change the Checkout-Strategy Changing the Checkout-Strategy to pull refs Issue-Id: AIMLFW-310 Change-Id: I28d36914b07ab70047b21e64d3738d8c1dab678d Signed-off-by: ashishj1729 --- 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