From faad1d66e5dde4588de210df20fd6665c2898040 Mon Sep 17 00:00:00 2001 From: "T.J Ariyawansa" Date: Tue, 27 Jan 2026 13:25:07 -0500 Subject: [PATCH] feat: add Slack notification workflow for new issues Add GitHub Actions workflow that automatically sends issue details to Slack via webhook when new issues are created. Includes issue title, number, URL, author, body, and timestamp. Requires SLACK_WEBHOOK_URL secret to be configured in repository settings. --- .../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..fadaedc2 --- /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: "${{ github.event.issue.body }}" + repository: "${{ github.repository }}" + created_at: "${{ github.event.issue.created_at }}"