seepine/hash-files
Compute the SHA256 hash of specified files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| workdir | The working directory for the action. | no | ${{ github.workspace }} |
| patterns | The patterns used to match files. You can input multiple patterns seperated by `\n`. We recommand using `|` to concat the patterns in `.yml` files. | yes | — |
| gitignore | Respect ignore patterns in .gitignore files that apply to the globbed files. | no | true |
| ignoreFiles | Glob patterns to look for ignore files, which are then used to ignore globbed files. This is a more generic form of the gitignore option, allowing you to find ignore files with a compatible syntax. For instance, this works with Babel's .babelignore, Prettier's .prettierignore, or ESLint's .eslintignore files. | no | — |
Outputs
| name | description |
|---|---|
| hash | The computed hash result |
| matched-files | The files matched by the patterns |