diff --git a/.github/workflows/release-prepare.yml b/.github/workflows/release-prepare.yml index 22d7dac7b..9c650c5b7 100644 --- a/.github/workflows/release-prepare.yml +++ b/.github/workflows/release-prepare.yml @@ -6,6 +6,9 @@ on: paths: - '.github/project.yml' +permissions: + contents: write + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -18,3 +21,14 @@ jobs: secrets: inherit with: java_version: 17 + + edit-release-notes: + name: Edit Release Notes + needs: prepare-release + runs-on: ubuntu-latest + steps: + - name: Change release notes + run: gh release edit ${RELEASE_VERSION} -n "https://docs.quarkiverse.io/quarkus-cxf/dev/release-notes/${RELEASE_VERSION}.html" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RELEASE_VERSION: ${{ needs.prepare-release.outputs.release-version }}