Skip to content

Commit 59e4f75

Browse files
committed
Merge branch 'refs/heads/main' into CET-19669-Accolade-GitHub-Secret-Scanning-Discrepancy-Generic-Secrets-Not-Ingested-in-Cortex
# Conflicts: # pom.xml
2 parents 19a4d32 + bee3d6f commit 59e4f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/kohsuke/github/GHRepositoryBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public S private_(boolean enabled) throws IOException {
167167
*/
168168
public S visibility(final Visibility visibility) throws IOException {
169169
requester.withPreview(NEBULA);
170-
return with("visibility", visibility);
170+
return with("visibility", visibility.toString());
171171
}
172172

173173
/**

0 commit comments

Comments
 (0)