diff --git a/.github/workflows/release_draft.yml b/.github/workflows/release_draft.yml index a33eaa67..aa303469 100644 --- a/.github/workflows/release_draft.yml +++ b/.github/workflows/release_draft.yml @@ -106,27 +106,32 @@ jobs: with: fetch-depth: 0 ref: refs/tags/${{ github.event.inputs.tagName }} + + - uses: actions/setup-python@v5.1.1 + with: + python-version: '3.11' + - name: Generate release notes id: generate_release_notes - uses: AbsaOSS/generate-release-notes@v0.3.0 + uses: AbsaOSS/generate-release-notes@feature/55-Chapter-line-formatting-authors env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag-name: ${{ github.event.inputs.tagName }} - chapters: | - [ - {"title": "Breaking Changes 💥", "label": "breaking-change"}, - {"title": "New Features 🎉", "label": "enhancement"}, - {"title": "Bugfixes 🛠", "label": "bug"} - ] + chapters: '[ + {"title": "Breaking Changes 💥", "label": "breaking-change"}, + {"title": "New Features 🎉", "label": "enhancement"}, + {"title": "New Features 🎉", "label": "feature"}, + {"title": "Bugfixes 🛠", "label": "bug"} + ]' duplicity-scope: 'service' duplicity-icon: '🔁' warnings: true skip-release-notes-label: "no RN" print-empty-chapters: false chapters-to-pr-without-issue: true - row-format-issue: '#_{title}_ {developed-by} {co-authored-by} in $number' - row-format-pr: '#_{title}_ {developed-by} {co-authored-by} in $number' + row-format-issue: '#_{title}_ {developed-by} {co-authored-by} in {number}' + row-format-pr: '#_{title}_ {developed-by} {co-authored-by} in {number}' row-format-link-pr: true - name: Create draft release