- Notifications
You must be signed in to change notification settings - Fork899
feat: add basic code scanning methods#11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR adds two new tools to retrieve code scanning alerts from a GitHub repository.
- Introduces getCodeScanningAlert and listCodeScanningAlerts functions in pkg/github/code_scanning.go.
- Updates README.md to include documentation for the new code scanning endpoints.
- Integrates the new code scanning tools in pkg/github/server.go.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
pkg/github/code_scanning.go | New functions to retrieve and list code scanning alerts. |
README.md | Added documentation for the new code scanning tools. |
pkg/github/server.go | Registers the new code scanning tools to the server. |
Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused.Learn more
81cc812
intomainUh oh!
There was an error while loading.Please reload this page.
Adds
get_code_scanning_alert
andlist_code_scanning_alerts
.Examples: