actions-marketplace-validations/Prevent file change

Fail a pull request workflow if certain files are changed

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
githubTokenGitHub tokenyes
patternJavaScript regular expression matching filenames (including path) of files which must not be changedyes
trustedAuthorsAlways trust pull request authors included in this comma separated list, e.g.: user1, user2, user3no
allowNewFilesAllow matching files to be included in pull requestsno
closePRIf 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

no outputs