Skip to content

Commit

Permalink
Add ref as url parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Sep 29, 2024
1 parent 1916030 commit 11127ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/milestones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 11127ac

Please sign in to comment.