Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/main/java/org/gitlab4j/api/models/PushRules.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class PushRules implements Serializable {
private String fileNameRegex;
private Integer maxFileSize;
private Boolean commitCommitterCheck;
private Boolean commitCommitterNameCheck;
private Boolean rejectUnsignedCommits;

public Long getId() {
Expand Down Expand Up @@ -173,6 +174,14 @@ public Boolean getCommitCommitterCheck() {
return commitCommitterCheck;
}

public Boolean getCommitCommitterNameCheck() {
return commitCommitterNameCheck;
}

public void setCommitCommitterNameCheck(Boolean commitCommitterNameCheck) {
this.commitCommitterNameCheck = commitCommitterNameCheck;
}

public void setCommitCommitterCheck(Boolean commitCommitterCheck) {
this.commitCommitterCheck = commitCommitterCheck;
}
Expand Down
3 changes: 2 additions & 1 deletion src/test/resources/org/gitlab4j/api/push-rule.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
"file_name_regex": "",
"max_file_size": 5,
"commit_committer_check": false,
"commit_committer_name_check": false,
"reject_unsigned_commits": false
}
}
Loading