acusti/Lines Changed Check
Calculate lines changed in a PR, excluding files matching configurable glob patterns
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for API access | yes | ${{ github.token }} |
| exclude-patterns | Newline-separated glob patterns for files to exclude from the count | no | "" |
| post-comment | Whether to post/update a PR comment with the results | no | true |
| comment-tag | Hidden HTML tag used to identify the comment for updates | no | lines-changed-check |
Outputs
| name | description |
|---|---|
| total-additions | Total lines added (excluding matched files) |
| total-deletions | Total lines deleted (excluding matched files) |
| total-changes | Total lines changed (additions + deletions, excluding matched files) |
| included-file-count | Number of files included in the count |
| excluded-file-count | Number of files excluded from the count |