From 0545e0cb682827d6783c0a97f23ee8a83b593e27 Mon Sep 17 00:00:00 2001 From: Shane Starcher Date: Tue, 4 Dec 2018 11:15:05 -0800 Subject: [PATCH] add rebase flag --- cmd/server.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/server.go b/cmd/server.go index 36bd28e504..7867f160dd 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -55,6 +55,7 @@ const ( PortFlag = "port" RepoWhitelistFlag = "repo-whitelist" RequireApprovalFlag = "require-approval" + RebaseRepo = "rebase-repo" SilenceWhitelistErrorsFlag = "silence-whitelist-errors" SSLCertFileFlag = "ssl-cert-file" SSLKeyFileFlag = "ssl-key-file" @@ -186,6 +187,11 @@ var boolFlags = []boolFlag{ description: "Require pull requests to be \"Approved\" before allowing the apply command to be run.", defaultValue: false, }, + { + name: RebaseRepo, + description: "Prior to running any commands the pull request is rebased off of master.", + defaultValue: false, + }, { name: SilenceWhitelistErrorsFlag, description: "Silences the posting of whitelist error comments.",