Skip to content

Commit deefcfb

Browse files
committed
fix: Filter defaults not working as intended
1 parent 6fa0e7c commit deefcfb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Files are collected by finding matches for `pattern`, then any of those that mat
138138
```yaml
139139
with:
140140
# Any JS files anywhere within a dist directory:
141-
pattern: "**/dist/**/*.js"
141+
pattern: "**/dist/**/*.{js,mjs,cjs}"
142142
143143
# Always ignore SourceMaps and node_modules:
144144
exclude: "{**/*.map,**/node_modules/**}"

action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ inputs:
3636
default: 1
3737
pattern:
3838
description: 'minimatch pattern of files to track'
39-
default: '**/dist/**/*.js'
4039
exclude:
4140
description: 'minimatch pattern of files NOT to track'
42-
default: '{**/*.map,**/node_modules/**}'
4341
cwd:
4442
description: 'A custom working directory to execute the action in relative to repo root (defaults to .)'
4543
comment-key:

0 commit comments

Comments
 (0)