raimondb/Git Diff Analyzer
Assess the changes that have been made to be able to determine the level of impact of the changes. The Levenshtein distance is used to determine the level of impact.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ld-threshold | The maximum Levenshtein distance allowed for the changes to be considered as low impact | no | 10 |
| allowed-file-types | The file types to be analyzed. Provide the extensions separated by whitespace. Example: "js html md". If other types of files are found, the level of impact will automatically be set to considerable. | no | md |
| git-base-ref | The git base ref to compare against. Default is $GITHUB_BASE_REF | no | ${{ github.base_ref }} |
Outputs
| name | description |
|---|---|
| impact-level | The level of impact of the changes. Can be low or considerable |
| max-ld-distance | The maximum Levenshtein distance found in the changes |