Skip to content

feat(core): Enhance label validation & secret detection - #2

Merged
goNinoGralla merged 5 commits into
mainfrom
release/v0.1.5
Jan 15, 2026
Merged

feat(core): Enhance label validation & secret detection#2
goNinoGralla merged 5 commits into
mainfrom
release/v0.1.5

Conversation

@goNinoGralla

Copy link
Copy Markdown
Owner

Summary

This PR introduces improvements to label handling and secret detection, enhances the user interface, and updates documentation for release procedures.

Changes

  • Label Validation: Added validation against available repository labels.
  • Secret Detection: Enhanced report with file information and added file whitelist.
  • UI Improvements: Settings panel sections now use modal dialogs, improving UI.
  • Documentation: Updated publishing instructions and release preparation steps.
  • GitHub Token Support: Added support for fetching repository labels using a GitHub token.
  • Default Label Mapping: Pre-configured all Conventional Commit types in Label Mapping defaults.

Review Focus

  • Label validation logic in pull request creation.
  • Secret detection enhancements for accuracy.
  • Usability of new modal dialogs in settings.

Labels

  • Validated that labels exist in repository and skip non-existent labels with a warning.

Breaking Changes

No breaking changes introduced.

The release documentation was updated to include build, packaging, and archival steps.

It clarifies the full release process and directs the user to upload the VSIX package from the versions/ folder to the VS Code Marketplace.
The documentation has been updated to include instructions on how to create and archive the VSIX file in the `versions/` directory.

This ensures that a copy of the VSIX is available for future use and simplifies the VS Code Marketplace update process.
…mation

The secret detection report now includes file names where secrets are found, providing more context to the user.

If secrets are found in multiple files, the report will list all files containing secrets. If secrets are found without file information, the report will remain unchanged.
This commit introduces validation for labels against the available repository labels when creating a pull request.

It fetches the repository labels using `gh label list` and filters the suggested labels to only include those that exist in the repository. A warning message is displayed if any invalid labels are found.

This prevents errors when creating pull requests with non-existent labels and improves the user experience.
Adds the latest changes to the changelog in preparation for a new release.
@goNinoGralla goNinoGralla added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 15, 2026
@goNinoGralla
goNinoGralla merged commit 3fde118 into main Jan 15, 2026
2 checks passed
@goNinoGralla
goNinoGralla deleted the release/v0.1.5 branch January 15, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant