swaglive/Generate git diff
Performs a git comparison between 2 refs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| head-ref | git ref to use as head | no | HEAD |
| base-ref | git ref to use as base | no | HEAD~1 |
| default-branch | git branch to use as reference for `HEAD` | no | ${{ github.ref_name }} |
| status | Change status of the files to filter by. See https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---diff-filterACDMRTUXB82308203 | no | d |
| filename-pattern | Filename globs to filter by | no | **/* |
| token | GitHub token to use for authentication | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| filenames | A JSON array of filenames that changed |