Skip to content

Add support for creating and updating repository security advisories#2631

Open
advancedresearcharray wants to merge 1 commit into
github:mainfrom
advancedresearcharray:feat/repository-security-advisory-write-2506
Open

Add support for creating and updating repository security advisories#2631
advancedresearcharray wants to merge 1 commit into
github:mainfrom
advancedresearcharray:feat/repository-security-advisory-write-2506

Conversation

@advancedresearcharray

@advancedresearcharray advancedresearcharray commented Jun 6, 2026

Copy link
Copy Markdown

Summary

  • Add create_repository_security_advisory, update_repository_security_advisory, and request_cve_for_repository_security_advisory tools to the security_advisories toolset
  • Implement REST API integration for POST/PATCH repository advisory endpoints (not yet exposed in go-github) plus CVE request via the existing client method
  • Add unit tests, tool schema snapshots, and generated README documentation

Closes #2506

Test plan

  • go test ./pkg/github -run 'Test_(Create|Update|RequestCVE|ParseAdvisory)'
  • go test ./pkg/github
  • go run ./cmd/github-mcp-server generate-docs

@advancedresearcharray advancedresearcharray requested a review from a team as a code owner June 6, 2026 21:57
@advancedresearcharray advancedresearcharray force-pushed the feat/repository-security-advisory-write-2506 branch 2 times, most recently from 709eff1 to 2a1584f Compare June 6, 2026 21:59
@advancedresearcharray

Copy link
Copy Markdown
Author

Cleaned commit history and PR description (removed third-party attribution trailers).

PR adds three security_advisories toolset operations for repository advisory lifecycle management (create, update, CVE request) with unit tests and schema snapshots. Closes #2506.

CI workflows are awaiting maintainer approval for this fork PR.

@advancedresearcharray advancedresearcharray force-pushed the feat/repository-security-advisory-write-2506 branch 20 times, most recently from 9b69751 to ccd9f29 Compare June 10, 2026 21:02
…t tools

Add MCP tools for creating and updating repository security advisories and
requesting CVE assignment. Reject empty enum values on update, move shared
advisory constants into the read module, and align ecosystem enums with swift.
@advancedresearcharray advancedresearcharray force-pushed the feat/repository-security-advisory-write-2506 branch from ccd9f29 to 6e607a0 Compare June 10, 2026 22:45
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.

Add support for creating and updating repository security advisories

1 participant