Removed release description text, so PR text is used.

This commit is contained in:
Patrick Lehmann
2025-04-26 21:29:50 +02:00
parent 3f7b0c221b
commit 7a57747fcd
6 changed files with 10 additions and 7 deletions

View File

@@ -338,7 +338,7 @@ jobs:
if: needs.Prepare.outputs.is_release_tag == 'true'
permissions:
contents: write
actions: write
actions: write
with:
tag: ${{ needs.Prepare.outputs.version }}
secrets: inherit

View File

@@ -96,7 +96,7 @@ jobs:
continue-on-error: ${{ inputs.can-fail }}
permissions:
contents: write
actions: write
actions: write
# attestations: write
steps:

View File

@@ -52,7 +52,7 @@ on:
description:
description: 'Multi-line description of the release.'
required: false
default: 'Release of artifacts from latest CI pipeline.'
default: ''
type: string
description_file:
description: 'Description of the release from a Markdown file.'
@@ -126,7 +126,7 @@ jobs:
continue-on-error: ${{ inputs.can-fail }}
permissions:
contents: write
actions: write
actions: write
# attestations: write
outputs:
release-page: ${{ steps.removeDraft.outputs.release_page }}
@@ -275,6 +275,9 @@ jobs:
elif [[ -s __PULLREQUEST__.md ]]; then
printf "Use '__PULLREQUEST__.md' as main release description.\n"
mv -v __PULLREQUEST__.md __NOTES__.md
printf "Append '%%FOOTER%%' to '__NOTES__.md'.\n"
printf "\n%%FOOTER%%\n" >> __NOTES__.md
else
printf "${ANSI_LIGHT_RED}No release description specified (file, parameter, PR text).${ANSI_NOCOLOR}\n"
printf "::error title=%s::%s\n" "MissingDescription" "No release description specified (file, parameter, PR text)."

View File

@@ -54,7 +54,7 @@ jobs:
permissions:
contents: write # required for tag creation
actions: write # required to start a new pipeline
actions: write # required to start a new pipeline
steps:
- name: 🏷 Create release tag '${{ steps.FindPullRequest.outputs.version }}'

View File

@@ -218,7 +218,7 @@ jobs:
if: needs.Prepare.outputs.is_release_tag == 'true'
permissions:
contents: write
actions: write
actions: write
with:
tag: ${{ needs.Prepare.outputs.version }}
secrets: inherit

View File

@@ -15,5 +15,5 @@ sphinxcontrib-mermaid ~= 1.0
autoapi >= 2.0.1
sphinx_design ~= 0.6.1
sphinx-copybutton >= 0.5.2
sphinx_autodoc_typehints ~= 3.1
sphinx_autodoc_typehints ~= 3.2
sphinx_reports ~= 0.9