Documentation ¶
Overview ¶
Package blockade defines a plugin that adds the 'do-not-merge/blocked-paths' label to PRs that modify protected file paths. Protected file paths are defined with the plugins.Blockade struct. A PR is blocked if any file it changes is blocked by any Blockade. The process for determining if a file is blocked by a Blockade is as follows: By default, allow the file. Block if the file path matches any of block regexps, and does not match any of the exception regexps.
Click to show internal directories.
Click to hide internal directories.