From 1b9a1cbb010487dec6cf3010e19a8468bbf5bf6e Mon Sep 17 00:00:00 2001 From: Ashish Padhy <100484401+Shurtu-gal@users.noreply.github.com> Date: Thu, 25 Jan 2024 23:07:54 +0530 Subject: [PATCH] ci: checkout of PR branch is not working (#1025) --- .github/workflows/maintainers-tsc-changes-verification.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maintainers-tsc-changes-verification.yaml b/.github/workflows/maintainers-tsc-changes-verification.yaml index b6fe1b352..8cb002aaf 100644 --- a/.github/workflows/maintainers-tsc-changes-verification.yaml +++ b/.github/workflows/maintainers-tsc-changes-verification.yaml @@ -24,7 +24,8 @@ jobs: - name: Checkout PR branch uses: actions/checkout@v3 with: - ref: ${{ github.head_ref }} + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} path: pr-branch - name: Install js-yaml