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: