diff --git a/.github/workflows/update-release-notes.yaml b/.github/workflows/update-release-notes.yaml index 2fc208f4e..f4945069f 100644 --- a/.github/workflows/update-release-notes.yaml +++ b/.github/workflows/update-release-notes.yaml @@ -18,11 +18,11 @@ jobs: script: | const fs = require('fs'); const templatePath = '${{ github.workspace }}/.github/templates/template.md'; - const filePath = '${{ github.workspace }}/content/${{ github.event.client_payload.product }}/release-notes/${{ github.event.client_payload.application-name }}-${{ github.event.client_payload.version }}.md'; + const filePath = '${{ github.workspace }}/content/${{ github.event.client_payload.product }}/release-notes/${{ github.event.client_payload.application-name }}-${{ github.event.client_payload.sha }}.md'; const templateFile = fs.readFileSync(templatePath, 'utf8'); const fileContent = templateFile - .replace('