xalvarez/Prevent file change
Fail a pull request workflow if certain files are changed
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| githubToken | GitHub token | yes | — |
| pattern | JavaScript regular expression matching filenames (including path) of files which must not be changed | yes | — |
| trustedAuthors | Always trust pull request authors included in this comma separated list, e.g.: user1, user2, user3 | no | — |
| allowNewFiles | Allow matching files to be included in pull requests | no | — |
| closePR | If set to true, the action will close the pull request if a pattern match is found. By default, the action will fail if a pattern match is found. | no | — |
Outputs
no outputs