diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 5a9e841fb..fb564f1ea 100755 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -32,7 +32,13 @@ jobs: name: Check Container Images runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout base branch + uses: actions/checkout@v3 + + - name: Checkout PR + run: gh pr checkout ${{ github.event.pull_request.number }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Check container images run: make check-images @@ -44,7 +50,13 @@ jobs: name: Check RC Images and Charts runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout base branch + uses: actions/checkout@v3 + + - name: Checkout PR + run: gh pr checkout ${{ github.event.pull_request.number }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Check RC images and charts run: make check-rc