From 11127acaa11b24afc41b63f1aa5cc83bb4cfcc80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 29 Sep 2024 11:41:18 +0000 Subject: [PATCH] Add ref as url parameter --- .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 10377388312..f03ba079792 100644 --- a/.github/workflows/milestones.yml +++ b/.github/workflows/milestones.yml @@ -39,7 +39,7 @@ jobs: gh api \ -H "Accept: application/vnd.github.raw" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - "/repos/{owner}/{repo}/contents/include/VERSION" >> "${GITHUB_OUTPUT}" + "/repos/{owner}/{repo}/contents/include/VERSION?ref=${{ github.sha }}" >> "${GITHUB_OUTPUT}" echo "EOF" >> "${GITHUB_OUTPUT}" env: GH_TOKEN: ${{ github.token }}