Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Tool Name property for List Code Scanning Alerts tool#272

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

Merged
SamMorrowDrums merged 8 commits intomainfromaddToolName
Apr 15, 2025

Conversation

Dylan-Rinker
Copy link
Contributor

This pull request introduces a new optional parameter,tool_name, to theListCodeScanningAlerts function and updates the relevant documentation and tests accordingly.

Closes:#271

@CopilotCopilotAI review requested due to automatic review settingsApril 14, 2025 21:42
Copy link
Contributor

@CopilotCopilotAI left a 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 pull request adds an optional tool_name parameter to the ListCodeScanningAlerts function to allow specifying the tool used for code scanning and updates the corresponding tests and documentation.

  • Introduces tool_name parameter in code_scanning.go
  • Updates tests in code_scanning_test.go to assert the new parameter
  • Enhances documentation in README.md to include tool_name

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

FileDescription
pkg/github/code_scanning_test.goAdds assertions and test cases for the newly added tool_name property in input schema.
pkg/github/code_scanning.goIntroduces and passes the optional tool_name parameter to the GitHub client API call.
README.mdUpdates the documentation to include the tool_name parameter description.

Copy link
Collaborator

@SamMorrowDrumsSamMorrowDrums left a comment

Choose a reason for hiding this comment

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

Thank you for this.

Dylan-Rinker reacted with heart emoji
@SamMorrowDrumsSamMorrowDrums merged commit614f226 intomainApr 15, 2025
16 checks passed
@SamMorrowDrumsSamMorrowDrums deleted the addToolName branchApril 15, 2025 17:36
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@SamMorrowDrumsSamMorrowDrumsSamMorrowDrums approved these changes

@juruenjuruenAwaiting requested review from juruen

@williammartinwilliammartinAwaiting requested review from williammartin

@tobytobyAwaiting requested review from toby

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add Tool Name Property to List Code Scanning Alerts Tool
2 participants
@Dylan-Rinker@SamMorrowDrums

[8]ページ先頭

©2009-2025 Movatter.jp