From 1a17f6974b23fdefd94109b2c66af2b7a43df356 Mon Sep 17 00:00:00 2001
From: Sergei Goviazin <sergey@symbiotic.fi>
Date: Wed, 15 Jan 2025 16:07:54 +0400
Subject: [PATCH] Validation pipeline improve

---
 .github/workflows/validate-pr.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml
index 763b6db..03c585b 100644
--- a/.github/workflows/validate-pr.yml
+++ b/.github/workflows/validate-pr.yml
@@ -13,15 +13,17 @@ jobs:
       pull-requests: write
 
     steps:
-      - name: Checkout repository
-        uses: actions/checkout@v4
-        with:
-          ref: ${{ github.event.pull_request.head.ref }}
 
       - name: Detect changed files
         uses: yumemi-inc/changed-files@v3
         id: changes
 
+      - name: Checkout repository
+        uses: actions/checkout@v4
+        with:
+          ref: ${{ github.event.pull_request.head.ref }}
+          repository: ${{ github.event.pull_request.head.repo.full_name }}
+
       - name: Validate
         uses: symbioticfi/metadata-validation-scripts@main
         with: