-
Notifications
You must be signed in to change notification settings - Fork 2
Validation and UI updates #17
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
Conversation
…ons and CodeQL status checks
…URLs and updating token handling
…age selection in UI
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 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 <[email protected]>
Co-authored-by: Copilot <[email protected]>
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.