Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ node_modules
# dotenv environment variables file
.env
.env.test

# npm lock file (project uses pnpm)
package-lock.json
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,19 @@ To use a custom pattern for a specific build tool:
strip-hash: '\.([0-9a-f]{8})\.'
```

### auto-collapse
Default: `true`

Possible values: `true`, `false`

When `true`, file rows are automatically collapsed into a `<details>` section when there are more than 20 files. The **Total** and **Tarball size** rows are always shown outside the collapsible section.

To disable auto-collapsing:

```yml
auto-collapse: false
```

## 💁‍♀️ FAQ

### Can I use this for non-published projects?
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ inputs:
description: 'Minimum byte difference to consider a file as changed (default: 100)'
strip-hash:
description: 'Regular expression to strip hashes from file names for comparison. Files that differ only in their hash will be compared as the same file. Set to "false" to disable. Default matches common build tool hash patterns.'
auto-collapse:
description: 'Automatically collapse file rows into a <details> section when there are more than 20 files: true, false'
default: 'true'
runs:
using: 'node20'
main: 'dist/index.js'
Loading