Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: export code scanning funcs #162

Merged
merged 2 commits into from
Apr 8, 2025
Merged

Conversation

SamMorrowDrums
Copy link
Collaborator

Exports code scanning functions so they are part of the package public interface.

@Copilot Copilot bot review requested due to automatic review settings April 7, 2025 21:09
Copy link
Contributor

@Copilot Copilot AI 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 PR exports code scanning functions so they become part of the package public interface.

  • Renames getCodeScanningAlert to GetCodeScanningAlert
  • Renames listCodeScanningAlerts to ListCodeScanningAlerts in both the production code and tests

Reviewed Changes

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

File Description
pkg/github/code_scanning_test.go Updated function calls in tests to use exported function names
pkg/github/code_scanning.go Exported functions by renaming them with uppercase initial letters

Copy link
Collaborator

@juruen juruen left a comment

Choose a reason for hiding this comment

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

🚀

@SamMorrowDrums SamMorrowDrums merged commit 9a5fe11 into main Apr 8, 2025
16 checks passed
@SamMorrowDrums SamMorrowDrums deleted the export-code-scanning branch April 8, 2025 07:26
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