mirror of
1
Fork 0

feat(release-notes-assistant): diff of the change in preview

This commit is contained in:
Twenty Panda 2024-07-25 22:00:14 +02:00
parent edf2cbe768
commit b85ec067ca
2 changed files with 6 additions and 1 deletions

View File

@ -36,4 +36,4 @@ jobs:
- name: release-notes-assistant preview - name: release-notes-assistant preview
run: | run: |
go run code.forgejo.org/forgejo/release-notes-assistant@v1.0.3 --config .release-notes-assistant.yaml --storage pr --storage-location ${{ github.event.pull_request.number }} --forgejo-url $GITHUB_SERVER_URL --repository $GITHUB_REPOSITORY --token ${{ secrets.RELEASE_NOTES_ASSISTANT_TOKEN }} preview ${{ github.event.pull_request.number }} go run code.forgejo.org/forgejo/release-notes-assistant@v1.1.0 --config .release-notes-assistant.yaml --storage pr --storage-location ${{ github.event.pull_request.number }} --forgejo-url $GITHUB_SERVER_URL --repository $GITHUB_REPOSITORY --token ${{ secrets.RELEASE_NOTES_ASSISTANT_TOKEN }} preview ${{ github.event.pull_request.number }}

View File

@ -17,6 +17,11 @@ comment: |
The following is a preview of the release notes for this pull request, as they will appear in the upcoming release. They are derived from the content of the `%[2]s/%[3]s.md` file, if it exists, or the title of the pull request. They were also added at the bottom of the description of this pull request for easier reference. The following is a preview of the release notes for this pull request, as they will appear in the upcoming release. They are derived from the content of the `%[2]s/%[3]s.md` file, if it exists, or the title of the pull request. They were also added at the bottom of the description of this pull request for easier reference.
This message and the release notes originate from a call to the [release-notes-assistant](https://code.forgejo.org/forgejo/release-notes-assistant). This message and the release notes originate from a call to the [release-notes-assistant](https://code.forgejo.org/forgejo/release-notes-assistant).
```diff
%[4]s
```
</details> </details>
%[1]s %[1]s