Skip to content

Commit

Permalink
Update API endpoint in workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelink committed Mar 2, 2024
1 parent 93409ce commit de9b553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/discord_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Fetch Release Notes
id: get_release_notes
run: |
API_RESPONSE=$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/:owner/:repo/releases/latest)
API_RESPONSE=$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{ github.repository }}/releases/latest)
echo "API Response: $API_RESPONSE"
RELEASE_NOTES=$(echo "$API_RESPONSE" | jq -r '.body')
echo "release_notes=$RELEASE_NOTES" >> $GITHUB_ENV
Expand Down

0 comments on commit de9b553

Please sign in to comment.