From 1af3489bf132c278787c16032b43fd03ff7db442 Mon Sep 17 00:00:00 2001 From: David Benedeki <14905969+benedeki@users.noreply.github.com> Date: Thu, 10 Oct 2024 13:24:31 +0200 Subject: [PATCH] #285: Atum Release 0.3.0 (#290) * adding python into the workflow file * returning to alpha version of the action to use --- .github/workflows/release_draft.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) 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