Changing the Checkout-Strategy to pull refs
Issue-Id: AIMLFW-310
Change-Id: I28d36914b07ab70047b21e64d3738d8c1dab678d
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
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