Skip to content

feat: GitHub issue analysis → Teams notification workflow#517

Merged
heyitsaamir merged 4 commits intomainfrom
feat/issue-analysis-workflow
Apr 13, 2026
Merged

feat: GitHub issue analysis → Teams notification workflow#517
heyitsaamir merged 4 commits intomainfrom
feat/issue-analysis-workflow

Conversation

@heyitsaamir
Copy link
Copy Markdown
Collaborator

@heyitsaamir heyitsaamir commented Apr 9, 2026

Summary

  • Adds a GitHub Actions workflow (.github/workflows/issue-analysis.yml) that triggers on new issues
  • Uses GitHub Models API (GPT-4o) for quick triage → Adaptive Card summary sent to Teams
  • Uses GitHub Copilot CLI with full repo context for deep analysis → threaded markdown reply
  • TypeScript port of feat: GitHub issue analysis → Teams notification workflow teams.py#339, using @microsoft/teams.apps and @microsoft/teams.cards
  • Script has its own package.json in .github/scripts/issue-analysis/ to avoid full workspace build in CI

Required secrets

Secret Purpose
TEAMS_CLIENT_ID Azure AD app client ID
TEAMS_CLIENT_SECRET Azure AD app client secret
TEAMS_TENANT_ID Azure AD tenant ID
TEAMS_CONVERSATION_ID Teams channel/chat ID
COPILOT_PAT PAT with Copilot Requests permission

GITHUB_TOKEN is automatic (provides GitHub Models API access).

Test plan

  • Verify the Adaptive Card is sent to the configured Teams channel
  • Verify the Copilot analysis is threaded as a reply

heyitsaamir and others added 3 commits April 9, 2026 16:45
Adds a GitHub Actions workflow that automatically analyzes new issues
using GPT-4o for triage and Copilot CLI for deep codebase analysis,
then sends an Adaptive Card summary + threaded action plan to a
Teams channel.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Move script to .github/scripts/issue-analysis/ with its own
package.json to avoid building the full workspace in CI.

Co-Authored-By: Claude <noreply@anthropic.com>
@heyitsaamir heyitsaamir requested a review from rajan-chari April 10, 2026 23:23
Copy link
Copy Markdown
Contributor

@rajan-chari rajan-chari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @heyitsaamir

@heyitsaamir heyitsaamir merged commit 61ee9e8 into main Apr 13, 2026
7 checks passed
@heyitsaamir heyitsaamir deleted the feat/issue-analysis-workflow branch April 13, 2026 15:32
@heyitsaamir heyitsaamir mentioned this pull request Apr 16, 2026
heyitsaamir added a commit that referenced this pull request Apr 16, 2026
## Summary
- Merges all changes from `main` since v2.0.7 into `release`
- Sets `version.json` to stable `2.0.8`

### What's included
- **feat:** Sovereign cloud support (GCCH, DoD, China) (#500)
- **feat:** Add missing endpoints — Paged Members, Meeting Notifications
& client gaps (#516)
- **feat:** Graceful stream cancellation on 403 (#513)
- **feat:** GitHub issue analysis → Teams notification workflow (#517)
- **fix:** Improve error message when app credentials are missing (#527)
- **fix:** Surface Graph API error body in GraphError (#524)
- **fix:** Resolve missing deps, broken JSON, type errors, and typos in
CLI templates (#521)
- **fix:** Drain entire queue per flush cycle (#520)
- **fix:** Merge User-Agent headers when cloning HTTP client (#508)
- Dependency bumps: hono, axios, vite, @hono/node-server

## Post-merge
1. Trigger the [release
pipeline](https://dev.azure.com/DomoreexpGithub/Github_Pipelines/_build?definitionId=52&_a=summary)
for `release` with **Public** publish type
2. Bump `version.json` on `main` to `2.0.9-preview.{height}`

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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