dkershner6/GitIgnore Parser
GitHub Action to parse a .gitignore file for information
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | The location of the .gitignore file from the repo root, with no filename. | no | ./ |
| must_deny | Comma-delimited string of files and paths the gitignore must deny being committed | no | "" |
| must_accept | Comma-delimited string of files and paths the gitignore must accept being committed | no | "" |
| fail_on_error | true/false to indicate whether the workflow should fail if a string in must_deny is not found | no | true |
Outputs
| name | description |
|---|---|
| requirements_met | Returns a boolean string ('true'/'false') representing whether all of the lines in must_deny were indeed denied, and all must_accept were accepted |
| not_denied | A Comma-delimited string containing all of the lines from must_deny that were not denied |
| not_accepted | A Comma-delimited string containing all of the lines from must_accept that were not accepted |