Skip to content

Commit 3d53e12

Browse files
🩹 [Patch]: Remove unimportant files from the importantFiles pattern list (#14)
## Summary Remove the `Process-PSModule.yml` workflow file pattern and `examples/` directory from the important files list that determines whether a PR should trigger a release. ## Changes ### Modified - **src/main.ps1**: - Removed `.github/workflows/Process-PSModule.yml` from the `$importantPatterns` array - Removed `examples/` from the `$importantPatterns` array - Updated the documentation table in PR comments accordingly ## Reason for Change - **Workflow file**: Changes to the workflow file are maintenance/infrastructure changes, not functional changes to the module itself - **Examples**: Examples are not currently included in documentation generation, so changes to them should not trigger releases ## Impact PRs that only modify the workflow file or example scripts will no longer trigger build, test, and publish stages unless other important files (src/ or README.md) are also modified. ## Release Note - Workflow file and example script changes no longer trigger module releases
1 parent 9fded0d commit 3d53e12

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎src/main.ps1‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,7 @@ LogGroup 'Calculate Job Run Conditions:' {
253253

254254
# Define important file patterns
255255
$importantPatterns = @(
256-
'^\.github/workflows/Process-PSModule\.yml$'
257256
'^src/'
258-
'^examples/'
259257
'^README\.md$'
260258
)
261259

@@ -286,9 +284,7 @@ This PR does not contain changes to files that would trigger a new release:
286284
| Path | Description |
287285
| :--- | :---------- |
288286
| ``src/**`` | Module source code |
289-
| ``examples/**`` | Example scripts |
290287
| ``README.md`` | Documentation |
291-
| ``.github/workflows/Process-PSModule.yml`` | Workflow configuration |
292288
293289
**Build, test, and publish stages will be skipped** for this PR.
294290

0 commit comments

Comments
 (0)