From efacdd4e86063086974bae018666d54421ff6931 Mon Sep 17 00:00:00 2001 From: Jan Kadlec Date: Thu, 9 Jan 2025 15:34:56 +0100 Subject: [PATCH] ci: fix issues with changelog and Slack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: * changelog was not part of release body * failing Slack notification due to missing channel – probably caused by matrix JIRA: TRIVIAL risk: low --- .github/workflows/build-release.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index af9f052b6..ca2e215ed 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -72,6 +72,7 @@ jobs: - name: Create GitHub release uses: "softprops/action-gh-release@v2" with: + body: ${{ steps.changelog.outputs.changes }} token: "${{ secrets.GITHUB_TOKEN }}" draft: false prerelease: false @@ -107,9 +108,6 @@ jobs: packages_dir: dist/${{ matrix.component }} verbose: true slack-notification: - strategy: - matrix: - channels: [ "#releases" ] runs-on: ubuntu-latest needs: publish steps: @@ -119,5 +117,5 @@ jobs: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} payload: | - channel: ${{ matrix.channels }} + channel: "#releases" text: "The release of *gooddata-python-sdk@${{ github.ref_name }}*, has been successful. :tada:"