From 4e66ed8f15b3eaaae4e88e120fce66fd089138b9 Mon Sep 17 00:00:00 2001 From: Arth Parikshit Patel Date: Mon, 1 Jun 2026 09:08:00 +0530 Subject: [PATCH] CI: Query base.ref instead of sha for milestone VERSION resolution --- .github/workflows/milestones.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/milestones.yml b/.github/workflows/milestones.yml index 41831313c2b..5a9ce8aa0e6 100644 --- a/.github/workflows/milestones.yml +++ b/.github/workflows/milestones.yml @@ -47,7 +47,7 @@ jobs: gh api \ -H "Accept: application/vnd.github.raw" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - "/repos/{owner}/{repo}/contents/include/VERSION?ref=${{ github.sha }}" + "/repos/{owner}/{repo}/contents/include/VERSION?ref=${{ github.event.pull_request.base.ref }}" echo "EOF" } >> "${GITHUB_OUTPUT}" env: