Skip to content

feat(profile scan): feat(profile scan): Support detection of bootstrap config files and config directory#375

Merged
chagong merged 3 commits intomicrosoft:mainfrom
milixiang:main
Mar 6, 2026
Merged

feat(profile scan): feat(profile scan): Support detection of bootstrap config files and config directory#375
chagong merged 3 commits intomicrosoft:mainfrom
milixiang:main

Conversation

@milixiang
Copy link
Copy Markdown
Contributor

  • Extend config file matching pattern to support bootstrap-*.{properties,yml,yaml} files
  • Also check config folders under source directories to find more config files
  • Fix duplicate profiles

…onfig directory

Extend config file matching pattern to support bootstrap-*.{properties,yml,yaml} files
Also check config folders under source directories to find more config files
Fix duplicate profiles
@milixiang
Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

Copy link
Copy Markdown

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 extends the profile detection functionality to support Spring Boot bootstrap configuration files and checks additional config directories.

Key changes:

  • Updated regex pattern to detect both application-* and bootstrap-* config files
  • Added scanning of config/ subdirectories under source folders
  • Eliminated duplicate profiles by using a Set instead of an array

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chagong chagong merged commit ec92797 into microsoft:main Mar 6, 2026
4 checks passed
@chagong chagong mentioned this pull request Mar 6, 2026
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.

3 participants