Skip to content

Commit ba9e2fa

Browse files
authored
Merge pull request #748 from hkad98/slack
feat: Slack notification after successful release
2 parents fd8e2b3 + 9b2355f commit ba9e2fa

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/build-release.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,17 @@ jobs:
9191
password: ${{ secrets.PYPI_API_TOKEN }}
9292
packages_dir: dist/${{ matrix.component }}
9393
verbose: true
94+
slack-notification:
95+
strategy:
96+
matrix:
97+
channels: [ "#releases" ]
98+
runs-on: ubuntu-latest
99+
needs: publish
100+
steps:
101+
- name: Notify to slack
102+
uses: slackapi/slack-github-action@v1.25.0
103+
with:
104+
channel-id: ${{ matrix.channels }}
105+
slack-message: "The release of *gooddata-python-sdk@${{ github.ref_name }}*, has been successful. :tada:"
106+
env:
107+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 commit comments

Comments
 (0)