Skip to content

Commit

Permalink
add rebase flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sstarcher committed Dec 5, 2018
1 parent 42fdc6a commit 0545e0c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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.",
Expand Down

0 comments on commit 0545e0c

Please sign in to comment.