Skip to content

subhamay-bhattacharyya-gha/slack-notification-wf

Send Slack Notification Reusable Workflow

Release Commit Activity Last Commit Release Date Repo Size File Count Issues Top Language Custom Endpoint

A template GitHub repository implementing a composite action to send Slack notifications for new issues or pull requests.

🛠️ Action Name

Slack Notification

📋 Description

This GitHub Action sends a message to a Slack channel via webhook when a new GitHub issue or pull request is created. It dynamically formats the message based on the event type.


🔐 Secrets

Name Description Required
slack-webhook Slack incoming webhook URL for notifications ✅ Yes

🚀 Example Usage

name: Notify on Issue or PR

on:
  issues:
    types: [opened]
  pull_request:
    types: [opened]

jobs:
  notify:
    uses: subhamay-bhattacharyya-gha/slack-notification-wf/.github/workflows/slack-notification.yaml@v1
    secrets:
      slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

License

MIT

About

GitHub Reusable Workflow : Send Slack Notification on opening an issue of pull request.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors