Skip to content

Commit 4f90e0c

Browse files
authored
Merge pull request #2796 from dkichler/issue-2795-document-gitlab-required-reviewers-as-premium
2 parents c467952 + f28d797 commit 4f90e0c

File tree

2 files changed

+2
-2
lines changed
  • docs
  • modules/core/src/main/scala/org/scalasteward/core/application

2 files changed

+2
-2
lines changed

docs/help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Options and flags:
7171
--gitlab-merge-when-pipeline-succeeds
7272
Whether to merge a gitlab merge request when the pipeline succeeds
7373
--gitlab-required-reviewers <integer>
74-
When set, the number of required reviewers for a merge request will be set to this number (non-negative integer). Is only used in the context of gitlab-merge-when-pipeline-succeeds being enabled, and requires that the configured access token have the appropriate privileges.
74+
When set, the number of required reviewers for a merge request will be set to this number (non-negative integer). Is only used in the context of gitlab-merge-when-pipeline-succeeds being enabled, and requires that the configured access token have the appropriate privileges. Also requires a Gitlab Premium subscription.
7575
--github-app-id <integer>
7676
GitHub application id
7777
--github-app-key-file <file>

modules/core/src/main/scala/org/scalasteward/core/application/Cli.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ object Cli {
231231
private val gitlabRequiredReviewers: Opts[Option[Int]] =
232232
option[Int](
233233
"gitlab-required-reviewers",
234-
"When set, the number of required reviewers for a merge request will be set to this number (non-negative integer). Is only used in the context of gitlab-merge-when-pipeline-succeeds being enabled, and requires that the configured access token have the appropriate privileges."
234+
"When set, the number of required reviewers for a merge request will be set to this number (non-negative integer). Is only used in the context of gitlab-merge-when-pipeline-succeeds being enabled, and requires that the configured access token have the appropriate privileges. Also requires a Gitlab Premium subscription."
235235
).validate("Required reviewers must be non-negative")(_ >= 0).orNone
236236

237237
private val gitLabCfg: Opts[GitLabCfg] =

0 commit comments

Comments
 (0)