From 0e168189fad8dbc6f5b5146cc49581ed94dc3276 Mon Sep 17 00:00:00 2001 From: "T.J Ariyawansa" Date: Mon, 23 Feb 2026 12:46:37 -0500 Subject: [PATCH] ci: add Slack notification workflow for new issues Send issue details to Slack via webhook when new issues are opened, enabling faster team response to community issues. --- .../workflows/slack-issue-notification.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/slack-issue-notification.yml diff --git a/.github/workflows/slack-issue-notification.yml b/.github/workflows/slack-issue-notification.yml new file mode 100644 index 00000000..8cf7d334 --- /dev/null +++ b/.github/workflows/slack-issue-notification.yml @@ -0,0 +1,23 @@ +name: Slack Issue Notification + +on: + issues: + types: [opened] + +jobs: + notify-slack: + runs-on: ubuntu-latest + steps: + - name: Send issue details to Slack + uses: slackapi/slack-github-action@v2.0.0 + with: + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook-type: webhook-trigger + payload: | + issue_title: "${{ github.event.issue.title }}" + issue_number: "${{ github.event.issue.number }}" + issue_url: "${{ github.event.issue.html_url }}" + issue_author: "${{ github.event.issue.user.login }}" + issue_body: ${{ toJSON(github.event.issue.body) }} + repository: "${{ github.repository }}" + created_at: "${{ github.event.issue.created_at }}"