Skip to content

Commit 7f37f2a

Browse files
Document empty ImportantFilePatterns list behavior in README
Agent-Logs-Url: https://github.com/PSModule/Process-PSModule/sessions/c8b1efd7-a1ef-4adb-8e15-04d7d96e26a7 Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
1 parent 4012bb0 commit 7f37f2a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,13 @@ ImportantFilePatterns:
480480
When configured, the provided list fully replaces the defaults. Include the default patterns in your list if you still
481481
want them to trigger releases.
482482

483+
To disable file-change triggering entirely (so that no file changes ever trigger a release), set an empty list in the
484+
settings file:
485+
486+
```yaml
487+
ImportantFilePatterns: []
488+
```
489+
483490
You can also pass patterns via the workflow input:
484491

485492
```yaml
@@ -493,6 +500,9 @@ jobs:
493500
^examples/
494501
```
495502

503+
To disable triggering via workflow input, pass an empty string or omit the `with:` block entirely and rely on the
504+
settings file instead.
505+
496506
Resolution order: settings file → workflow input → hardcoded defaults.
497507

498508
#### Files that do NOT trigger releases

0 commit comments

Comments
 (0)