blockade

package
v1.21.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL