giavinh79/@yifancong/bundle-action
A simple demo for checking compressed size differences
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | The GITHUB_TOKEN secret | no | ${{ github.token }} |
| file_path | Path to the file to upload (relative to project root) | yes | — |
| target_branch | The target branch to compare against (defaults to main) | no | main |
| comment_identifier | Unique identifier for this comment (enables multiple comments per PR for monorepo support) | no | "" |
| comment_title | Custom title for the PR comment (e.g., "Frontend App", "Backend Service") | no | Bundle Diff Analysis |
| max_kb_increase | Maximum allowed bundle size increase in KB (e.g., "500" for 500KB, "0" to fail on any increase). Action fails if exceeded. | no | "" |
| skip_size_check | Set to "true" to bypass size gate check (e.g., when bundle increase is approved) | no | false |
Outputs
no outputs