Skip to content

Commit

Permalink
integrating slack channel (#9)
Browse files Browse the repository at this point in the history
* Create slack-notify.yml

* Update README.md

* Update slack-notify.yml

* Update slack web-hook property name

SLACK_WEBHOOK
  • Loading branch information
SVAdithya authored Jul 19, 2024
1 parent 5e2a169 commit 6afb96a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/slack-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Notify Slack

on:
pull_request:
types:
- assigned
- unassigned
- labeled
- unlabeled
- opened
- edited
- closed
- reopened
- synchronize
- ready_for_review
- locked
- unlocked
- review_requested
- review_request_removed

jobs:
slackNotification:
runs-on: ubuntu-latest
steps:
- name: Send notification to Slack
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: 'GitHub Actions'
SLACK_MESSAGE: 'A new push has been made to the repository!'
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ docker exec -it 89d4f551353f /opt/kafka/bin/kafka-console-producer.sh --broker-l
```shell
docker exec -it 89d4f551353f /opt/kafka/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic my-topic --from-beginning
```


slack: https://app.slack.com/client/T07D61D72RY/C07D5TQCS1H

0 comments on commit 6afb96a

Please sign in to comment.