Skip to content

Commit efacdd4

Browse files
committed
ci: fix issues with changelog and Slack
Fixes: * changelog was not part of release body * failing Slack notification due to missing channel – probably caused by matrix JIRA: TRIVIAL risk: low
1 parent df48f75 commit efacdd4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-release.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
- name: Create GitHub release
7373
uses: "softprops/action-gh-release@v2"
7474
with:
75+
body: ${{ steps.changelog.outputs.changes }}
7576
token: "${{ secrets.GITHUB_TOKEN }}"
7677
draft: false
7778
prerelease: false
@@ -107,9 +108,6 @@ jobs:
107108
packages_dir: dist/${{ matrix.component }}
108109
verbose: true
109110
slack-notification:
110-
strategy:
111-
matrix:
112-
channels: [ "#releases" ]
113111
runs-on: ubuntu-latest
114112
needs: publish
115113
steps:
@@ -119,5 +117,5 @@ jobs:
119117
method: chat.postMessage
120118
token: ${{ secrets.SLACK_BOT_TOKEN }}
121119
payload: |
122-
channel: ${{ matrix.channels }}
120+
channel: "#releases"
123121
text: "The release of *gooddata-python-sdk@${{ github.ref_name }}*, has been successful. :tada:"

0 commit comments

Comments
 (0)