From e4f5ca11f9439e6aafb3e3063c47b13086e50636 Mon Sep 17 00:00:00 2001 From: MicroDev <70126934+MicroDev1@users.noreply.github.com> Date: Sat, 19 Nov 2022 10:45:10 +0530 Subject: [PATCH] compare against pr head commit instead of merge ref --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e540f3aa3..607717f5fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -141,6 +141,7 @@ jobs: uses: tj-actions/changed-files@v34 with: json: "true" + sha: ${{ steps.get-last-commit-with-checks.outputs.commit && github.event.after }} base_sha: ${{ steps.get-last-commit-with-checks.outputs.commit }} - name: Set matrix id: set-matrix