blockade

package
v0.0.484 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 9 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.

Index

Constants

View Source
const (
	// PluginName defines this plugin's registered name.
	PluginName = "blockade"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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