Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 8, 2026

The file patterns that determine whether a PR warrants a new release (^src/, ^README\.md$) are hardcoded in Get-PSModuleSettings with no user override. This documents a new Publish.Module.ImportantFilesPatterns setting to make them configurable.

Changes

  • Configuration table: Added Publish.Module.ImportantFilesPatterns (String, comma-separated regex patterns)
  • Important file change detection section: Restructured to show defaults as regex patterns and added "Customizing important file patterns" subsection with examples
  • Default PSModule.yml example: Added ImportantFilesPatterns entry

Usage

# Override default patterns to also trigger releases on examples and changelog changes
Publish:
  Module:
    ImportantFilesPatterns: '^src/, ^README\.md$, ^examples/, ^CHANGELOG\.md$'

Default value: '^src/, ^README\.md$' (preserves current behavior).

Original prompt

/create-issue Make an issue where we add the option for important files that warrant a new release as parameters/inputs/config items in the settings file that the user can use to override the default behavior for what a release is. Today this is hardcoded into the action/workflow.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add settings file option for important files in release process Document configurable ImportantFilesPatterns setting for release triggering Feb 8, 2026
Copilot AI requested a review from MariusStorhaug February 8, 2026 11:01
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