diff --git a/.github/actions/get-release-notes/action.yml b/.github/actions/get-release-notes/action.yml index d832dfca9..88f4fde08 100644 --- a/.github/actions/get-release-notes/action.yml +++ b/.github/actions/get-release-notes/action.yml @@ -28,9 +28,9 @@ runs: owner: process.env.REPO_OWNER, repo: process.env.REPO_NAME, state: 'all', - head: `${process.env.REPO_OWNER}/release/process.env.VERSION`, + head: `${process.env.REPO_OWNER}/release/${process.env.VERSION}`, }); - console.log(pulls); + console.log(pulls[0]); return pulls[0].body; env: GITHUB_TOKEN: ${{ inputs.token }}