From 655548d948bc8212be3506c158329f52350644c1 Mon Sep 17 00:00:00 2001 From: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:38:17 +0530 Subject: [PATCH] CI: Fix label Checker (#32770) Fix label Checker --- .github/workflows/pr-automation.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml index f29356e2dd..66dc91fade 100644 --- a/.github/workflows/pr-automation.yml +++ b/.github/workflows/pr-automation.yml @@ -20,6 +20,11 @@ jobs: matrix: ${{ steps.checkAll.outputs.matrix }} steps: + # Checkout the code in the current branch in case the workflow is called because of a branch push event + - name: Checkout the head commit of the branch + if: inputs.pr == 0 + uses: actions/checkout@v4 + # Checks for ok-to-test label presence in PR - name: Check label run: |