Merged
Conversation
…ons and CodeQL status checks
…URLs and updating token handling
…age selection in UI
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces significant improvements to the VSCode extension, focusing on repository ownership, automated dependency management, and enhanced CodeQL integration with improved UI controls. The main purpose is to enhance the extension's usability by making commands conditional on CodeQL status and improving the user experience through better repository configuration management.
- Updated repository ownership to the Advanced Security team and added automated dependency management
- Enhanced command enablement logic to only show CodeQL commands when CodeQL is enabled for the repository
- Extended GitHub service to support enterprise/custom API URLs and added CodeQL status checking functionality
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/CODEOWNERS | Updated repository ownership to @advanced-security/oss-maintainers team |
| .github/dependabot.yml | Added automated dependency updates for GitHub Actions and npm packages |
| package.json | Updated version to 0.2.0 and added CodeQL enablement conditions to commands |
| src/services/githubService.ts | Enhanced with configurable base URL support and CodeQL status checking |
| src/providers/uiProvider.ts | Added extensive CodeQL status checking, repository configuration UI, and improved error handling |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements focused on repository ownership, dependency management, and enhanced CodeQL integration for the VSCode extension. The most significant updates include assigning ownership to the appropriate team, adding automated dependency updates, refining command enablement logic based on CodeQL status, and extending the GitHub service to support dynamic API URLs and CodeQL status checks.
Repository ownership and dependency management:
.github/CODEOWNERSfile to assign repository ownership to the@advanced-security/oss-maintainersteam, replacing the previous owner..github/dependabot.ymlconfiguration to automate dependency updates for both GitHub Actions and npm packages, with weekly schedules, reviewer assignment, commit message prefixes, and dependency grouping.VSCode extension enhancements:
package.jsonto version0.2.0and improved command enablement logic so that key commands are only available when CodeQL is enabled, using the newcodeql-scanner.codeQLEnabledcontext. Also refined command palette and context menu visibility conditions. [1] [2] [3] [4]GitHub service improvements:
GitHubServiceclass to allow updating the GitHub token with a configurable base URL, supporting enterprise or custom API endpoints.isCodeQLEnabledtoGitHubServiceto check if CodeQL is enabled for a given repository, including robust logging and error handling.