diff --git a/.github/workflows/release-notification.yml b/.github/workflows/release-notification.yml new file mode 100644 index 0000000..4e80ea3 --- /dev/null +++ b/.github/workflows/release-notification.yml @@ -0,0 +1,19 @@ +name: Release Notification + +on: + release: + types: [released] + +jobs: + send-slack-notification: + runs-on: ubuntu-latest + timeout-minutes: 2 + steps: + - name: Send slack notification + id: slack + uses: slackapi/slack-github-action@v1.25.0 + with: + channel-id: 'C012YFE3D6D' + slack-message: "core-lib-python release has been triggered!" + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}