Currently, this probot has hardcoded requirements that either a README or a docs/ are modified for the notification to not trigger. Because projects have varying standards on what they name their documentation or where changes need to go on each pull request, this doesn't work in all situations.
This pull request adds a config option called updateDocsTargetFiles that allows someone to optionally configure different paths to check for docs updates on. It also modifies the tests to pass (because we now get repo content 100% of the time as opposed to only if docs aren't modified).
Currently, this probot has hardcoded requirements that either a
README
or adocs/
are modified for the notification to not trigger. Because projects have varying standards on what they name their documentation or where changes need to go on each pull request, this doesn't work in all situations.This pull request adds a config option called
updateDocsTargetFiles
that allows someone to optionally configure different paths to check for docs updates on. It also modifies the tests to pass (because we now get repo content 100% of the time as opposed to only if docs aren't modified).