diff --git a/.github/workflows/discord_release.yml b/.github/workflows/discord_release.yml index 1a9f1f1..e8870bb 100644 --- a/.github/workflows/discord_release.yml +++ b/.github/workflows/discord_release.yml @@ -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