From b85ec067ca40868c523f50fb60fe4e6bbdbc8ee9 Mon Sep 17 00:00:00 2001 From: Twenty Panda Date: Thu, 25 Jul 2024 22:00:14 +0200 Subject: [PATCH] feat(release-notes-assistant): diff of the change in preview --- .forgejo/workflows/release-notes-assistant.yml | 2 +- .release-notes-assistant.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/release-notes-assistant.yml b/.forgejo/workflows/release-notes-assistant.yml index f55bebd0c8..cd76e412cc 100644 --- a/.forgejo/workflows/release-notes-assistant.yml +++ b/.forgejo/workflows/release-notes-assistant.yml @@ -36,4 +36,4 @@ jobs: - name: release-notes-assistant preview 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 }} diff --git a/.release-notes-assistant.yaml b/.release-notes-assistant.yaml index 4d2fbf55d2..15c73f9b39 100644 --- a/.release-notes-assistant.yaml +++ b/.release-notes-assistant.yaml @@ -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. 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 + ``` + %[1]s