Skip to content

Add Copilot issue Slack notifier workflow to release-assets#53

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/add-issue-opened-slack-notifier
Draft

Add Copilot issue Slack notifier workflow to release-assets#53
Copilot wants to merge 3 commits into
mainfrom
copilot/add-issue-opened-slack-notifier

Conversation

Copilot AI commented Jun 29, 2026

Copy link
Copy Markdown

Sets up the same issues.opened Slack notifier from github/support-squad-copilot in this repository, targeting #support-squad-copilot-shiftlog with the message Review release and assign SME.

Workflow (.github/workflows/copilot-issue-slack-notifier.yml)

  • Triggers on issues.opened
  • Matches whole word copilot (case-insensitive) in title or body via /\bcopilot\b/i; skips silently on no match
  • Safely coerces null/empty body to '' before matching
  • POSTs to Slack via actions/github-script@v7 using Node's built-in https — no extra dependencies
  • Payload includes channel, fixed text, and an attachment with issue title (linked), author login, and repo name
  • Reads webhook URL from SLACK_WEBHOOK_URL repository secret

README

  • Documents keyword matching behaviour, secret setup path, and a test matrix covering match/no-match/partial-word/empty-body scenarios

Required before merge

Add SLACK_WEBHOOK_URL under Settings → Secrets and variables → Actions pointing at the #support-squad-copilot-shiftlog incoming webhook URL.

GitHub Advanced Security started work on behalf of highfi13g June 29, 2026 23:54 View session
GitHub Advanced Security finished work on behalf of highfi13g June 29, 2026 23:54
GitHub Advanced Security started work on behalf of highfi13g June 29, 2026 23:56 View session
GitHub Advanced Security finished work on behalf of highfi13g June 29, 2026 23:56
Copilot AI changed the title [WIP] Add issue opened Slack notifier automation Add Copilot issue Slack notifier workflow to release-assets Jun 29, 2026
Copilot AI requested a review from highfi13g June 29, 2026 23:56
GitHub Advanced Security started work on behalf of highfi13g June 29, 2026 23:56 View session
GitHub Advanced Security finished work on behalf of highfi13g June 29, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants