mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-11 00:11:25 +00:00
Compare commits
43 Commits
github-api
...
github-api
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9022455d85 | ||
|
|
7c8a7ff26e | ||
|
|
064d6944f3 | ||
|
|
b8b3cf9c80 | ||
|
|
18e7138812 | ||
|
|
bfb3b94478 | ||
|
|
6167d196d9 | ||
|
|
43ed7c7ac7 | ||
|
|
fc98e72569 | ||
|
|
258acf79f6 | ||
|
|
b509076d6f | ||
|
|
f57ea4c4e9 | ||
|
|
578fe085ce | ||
|
|
2553a79b02 | ||
|
|
4770316898 | ||
|
|
99f192d33c | ||
|
|
fc3bac0e77 | ||
|
|
ad2990b1b6 | ||
|
|
fab848a0d3 | ||
|
|
4a2244e661 | ||
|
|
bab5399327 | ||
|
|
52705ac695 | ||
|
|
73d2e1db5c | ||
|
|
83aa9d04ef | ||
|
|
97652c6803 | ||
|
|
f40daf8488 | ||
|
|
3e6a5bc718 | ||
|
|
78ffe5a759 | ||
|
|
9abfdc805b | ||
|
|
9e47a2b8c6 | ||
|
|
feba6ed8b6 | ||
|
|
acab40b704 | ||
|
|
435272065f | ||
|
|
c5c04672fc | ||
|
|
5eef764cba | ||
|
|
2682e0a1e2 | ||
|
|
a68d16d5de | ||
|
|
304ab10cf9 | ||
|
|
dc46341432 | ||
|
|
99aea9296e | ||
|
|
b0693037f3 | ||
|
|
c19cfd98d1 | ||
|
|
cdc0e2ad6b |
2
.github/workflows/maven-build.yml
vendored
2
.github/workflows/maven-build.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
- name: Maven Install (skipTests)
|
||||
env:
|
||||
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
|
||||
run: mvn -B install -DskipTests -D enable-ci --file pom.xml
|
||||
run: mvn -B install -DskipTests --file pom.xml
|
||||
site:
|
||||
name: site (Java ${{ matrix.java }})
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
44
pom.xml
44
pom.xml
@@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.kohsuke</groupId>
|
||||
<artifactId>github-api</artifactId>
|
||||
<version>1.125</version>
|
||||
<version>1.127</version>
|
||||
<name>GitHub API for Java</name>
|
||||
<url>https://github-api.kohsuke.org/</url>
|
||||
<description>GitHub API for Java</description>
|
||||
@@ -11,7 +11,7 @@
|
||||
<connection>scm:git:git@github.com/hub4j/${project.artifactId}.git</connection>
|
||||
<developerConnection>scm:git:ssh://git@github.com/hub4j/${project.artifactId}.git</developerConnection>
|
||||
<url>https://github.com/hub4j/github-api/</url>
|
||||
<tag>github-api-1.125</tag>
|
||||
<tag>github-api-1.127</tag>
|
||||
</scm>
|
||||
|
||||
<distributionManagement>
|
||||
@@ -34,7 +34,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<spotbugs-maven-plugin.version>4.2.0</spotbugs-maven-plugin.version>
|
||||
<spotbugs.version>4.2.1</spotbugs.version>
|
||||
<spotbugs.version>4.2.2</spotbugs.version>
|
||||
<spotbugs-maven-plugin.failOnError>true</spotbugs-maven-plugin.failOnError>
|
||||
<hamcrest.version>2.2</hamcrest.version>
|
||||
<okhttp3.version>4.4.1</okhttp3.version>
|
||||
@@ -46,6 +46,7 @@
|
||||
<jacoco.haltOnFailure>false</jacoco.haltOnFailure>
|
||||
<jjwt.suite.version>0.11.2</jjwt.suite.version>
|
||||
|
||||
<jacoco.surefire.argLine />
|
||||
<surefire.argLine />
|
||||
</properties>
|
||||
|
||||
@@ -107,6 +108,9 @@
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<propertyName>jacoco.surefire.argLine</propertyName>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- attached to Maven test phase -->
|
||||
<execution>
|
||||
@@ -274,7 +278,7 @@
|
||||
<id>default-test</id>
|
||||
<configuration>
|
||||
<excludesFile>src/test/resources/slow-or-flaky-tests.txt</excludesFile>
|
||||
<argLine>${surefire.argLine}</argLine>
|
||||
<argLine>@{jacoco.surefire.argLine} ${surefire.argLine}</argLine>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
@@ -315,7 +319,7 @@
|
||||
<plugin>
|
||||
<groupId>com.diffplug.spotless</groupId>
|
||||
<artifactId>spotless-maven-plugin</artifactId>
|
||||
<version>2.8.1</version>
|
||||
<version>2.9.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>spotless-check</id>
|
||||
@@ -461,7 +465,7 @@
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jgit</groupId>
|
||||
<artifactId>org.eclipse.jgit</artifactId>
|
||||
<version>5.10.0.202012080955-r</version>
|
||||
<version>5.11.0.202103091610-r</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -517,7 +521,7 @@
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<version>3.7.7</version>
|
||||
<version>3.8.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -582,7 +586,7 @@
|
||||
<!-- There are some tests that take longer or are a little
|
||||
flaky. Run them here. -->
|
||||
<includesFile>src/test/resources/slow-or-flaky-tests.txt</includesFile>
|
||||
<argLine>${surefire.argLine}</argLine>
|
||||
<argLine>@{jacoco.surefire.argLine} ${surefire.argLine}</argLine>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
@@ -642,6 +646,30 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>3.0.0-M3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-jacoco-exist</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireFilesExist>
|
||||
<files>
|
||||
<file>${project.build.directory}/jacoco.exec</file>
|
||||
</files>
|
||||
</requireFilesExist>
|
||||
</rules>
|
||||
<fail>true</fail>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
140
src/main/java/org/kohsuke/github/GHArtifact.java
Normal file
140
src/main/java/org/kohsuke/github/GHArtifact.java
Normal file
@@ -0,0 +1,140 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.kohsuke.github.function.InputStreamFunction;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Date;
|
||||
import java.util.Objects;
|
||||
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
||||
/**
|
||||
* An artifact from a workflow run.
|
||||
*
|
||||
* @author Guillaume Smet
|
||||
*/
|
||||
public class GHArtifact extends GHObject {
|
||||
|
||||
// Not provided by the API.
|
||||
@JsonIgnore
|
||||
private GHRepository owner;
|
||||
|
||||
private String name;
|
||||
private long sizeInBytes;
|
||||
private String archiveDownloadUrl;
|
||||
private boolean expired;
|
||||
private String expiresAt;
|
||||
|
||||
/**
|
||||
* Gets the name.
|
||||
*
|
||||
* @return the name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the size of the artifact in bytes.
|
||||
*
|
||||
* @return the size
|
||||
*/
|
||||
public long getSizeInBytes() {
|
||||
return sizeInBytes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the archive download URL.
|
||||
*
|
||||
* @return the archive download URL
|
||||
*/
|
||||
public URL getArchiveDownloadUrl() {
|
||||
return GitHubClient.parseURL(archiveDownloadUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* If this artifact has expired.
|
||||
*
|
||||
* @return if the artifact has expired
|
||||
*/
|
||||
public boolean isExpired() {
|
||||
return expired;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the date at which this artifact will expire.
|
||||
*
|
||||
* @return the date of expiration
|
||||
*/
|
||||
public Date getExpiresAt() {
|
||||
return GitHubClient.parseDate(expiresAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* Repository to which the artifact belongs.
|
||||
*
|
||||
* @return the repository
|
||||
*/
|
||||
public GHRepository getRepository() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated This object has no HTML URL.
|
||||
*/
|
||||
@Override
|
||||
public URL getHtmlUrl() throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes the artifact.
|
||||
*
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
public void delete() throws IOException {
|
||||
root.createRequest().method("DELETE").withUrlPath(getApiRoute()).fetchHttpStatusCode();
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads the artifact.
|
||||
*
|
||||
* @param <T>
|
||||
* the type of result
|
||||
* @param streamFunction
|
||||
* The {@link InputStreamFunction} that will process the stream
|
||||
* @throws IOException
|
||||
* The IO exception.
|
||||
* @return the result of reading the stream.
|
||||
*/
|
||||
public <T> T download(InputStreamFunction<T> streamFunction) throws IOException {
|
||||
requireNonNull(streamFunction, "Stream function must not be null");
|
||||
|
||||
return root.createRequest().method("GET").withUrlPath(getApiRoute(), "zip").fetchStream(streamFunction);
|
||||
}
|
||||
|
||||
private String getApiRoute() {
|
||||
if (owner == null) {
|
||||
// Workflow runs returned from search to do not have an owner. Attempt to use url.
|
||||
final URL url = Objects.requireNonNull(getUrl(), "Missing instance URL!");
|
||||
return StringUtils.prependIfMissing(url.toString().replace(root.getApiUrl(), ""), "/");
|
||||
}
|
||||
return "/repos/" + owner.getOwnerName() + "/" + owner.getName() + "/actions/artifacts/" + getId();
|
||||
}
|
||||
|
||||
GHArtifact wrapUp(GHRepository owner) {
|
||||
this.owner = owner;
|
||||
return wrapUp(owner.root);
|
||||
}
|
||||
|
||||
GHArtifact wrapUp(GitHub root) {
|
||||
this.root = root;
|
||||
if (owner != null)
|
||||
owner.wrap(root);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
49
src/main/java/org/kohsuke/github/GHArtifactsIterable.java
Normal file
49
src/main/java/org/kohsuke/github/GHArtifactsIterable.java
Normal file
@@ -0,0 +1,49 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.util.Iterator;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
/**
|
||||
* Iterable for artifacts listing.
|
||||
*/
|
||||
class GHArtifactsIterable extends PagedIterable<GHArtifact> {
|
||||
private final transient GHRepository owner;
|
||||
private final GitHubRequest request;
|
||||
|
||||
private GHArtifactsPage result;
|
||||
|
||||
public GHArtifactsIterable(GHRepository owner, GitHubRequest.Builder<?> requestBuilder) {
|
||||
this.owner = owner;
|
||||
try {
|
||||
this.request = requestBuilder.build();
|
||||
} catch (MalformedURLException e) {
|
||||
throw new GHException("Malformed URL", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public PagedIterator<GHArtifact> _iterator(int pageSize) {
|
||||
return new PagedIterator<>(
|
||||
adapt(GitHubPageIterator.create(owner.getRoot().getClient(), GHArtifactsPage.class, request, pageSize)),
|
||||
null);
|
||||
}
|
||||
|
||||
protected Iterator<GHArtifact[]> adapt(final Iterator<GHArtifactsPage> base) {
|
||||
return new Iterator<GHArtifact[]>() {
|
||||
public boolean hasNext() {
|
||||
return base.hasNext();
|
||||
}
|
||||
|
||||
public GHArtifact[] next() {
|
||||
GHArtifactsPage v = base.next();
|
||||
if (result == null) {
|
||||
result = v;
|
||||
}
|
||||
return v.getArtifacts(owner);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
20
src/main/java/org/kohsuke/github/GHArtifactsPage.java
Normal file
20
src/main/java/org/kohsuke/github/GHArtifactsPage.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
/**
|
||||
* Represents the one page of artifacts result when listing artifacts.
|
||||
*/
|
||||
class GHArtifactsPage {
|
||||
private int total_count;
|
||||
private GHArtifact[] artifacts;
|
||||
|
||||
public int getTotalCount() {
|
||||
return total_count;
|
||||
}
|
||||
|
||||
GHArtifact[] getArtifacts(GHRepository owner) {
|
||||
for (GHArtifact artifact : artifacts) {
|
||||
artifact.wrapUp(owner);
|
||||
}
|
||||
return artifacts;
|
||||
}
|
||||
}
|
||||
@@ -1400,13 +1400,11 @@ public class GHEventPayload extends GitHubInteractiveObject {
|
||||
"Expected workflow and workflow_run payload, but got something else. Maybe we've got another type of event?");
|
||||
}
|
||||
GHRepository repository = getRepository();
|
||||
if (repository != null) {
|
||||
workflowRun.wrapUp(repository);
|
||||
workflow.wrapUp(repository);
|
||||
} else {
|
||||
workflowRun.wrapUp(root);
|
||||
workflow.wrapUp(root);
|
||||
if (repository == null) {
|
||||
throw new IllegalStateException("Repository must not be null");
|
||||
}
|
||||
workflowRun.wrapUp(repository);
|
||||
workflow.wrapUp(repository);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ import edu.umd.cs.findbugs.annotations.NonNull;
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.kohsuke.github.function.InputStreamFunction;
|
||||
import org.kohsuke.github.internal.EnumUtils;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
@@ -49,6 +50,7 @@ import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TreeMap;
|
||||
@@ -56,9 +58,16 @@ import java.util.WeakHashMap;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Arrays.asList;
|
||||
import static java.util.Objects.requireNonNull;
|
||||
import static org.kohsuke.github.internal.Previews.*;
|
||||
import static org.kohsuke.github.internal.Previews.ANTIOPE;
|
||||
import static org.kohsuke.github.internal.Previews.ANT_MAN;
|
||||
import static org.kohsuke.github.internal.Previews.BAPTISTE;
|
||||
import static org.kohsuke.github.internal.Previews.FLASH;
|
||||
import static org.kohsuke.github.internal.Previews.INERTIA;
|
||||
import static org.kohsuke.github.internal.Previews.MERCY;
|
||||
import static org.kohsuke.github.internal.Previews.NEBULA;
|
||||
import static org.kohsuke.github.internal.Previews.SHADOW_CAT;
|
||||
|
||||
/**
|
||||
* A repository on GitHub.
|
||||
@@ -98,6 +107,8 @@ public class GHRepository extends GHObject {
|
||||
@JsonProperty("private")
|
||||
private boolean _private;
|
||||
|
||||
private String visibility;
|
||||
|
||||
private int forks_count, stargazers_count, watchers_count, size, open_issues_count, subscribers_count;
|
||||
|
||||
private String pushed_at;
|
||||
@@ -704,6 +715,41 @@ public class GHRepository extends GHObject {
|
||||
return _private;
|
||||
}
|
||||
|
||||
/**
|
||||
* Visibility of a repository.
|
||||
*/
|
||||
public enum Visibility {
|
||||
PUBLIC, INTERNAL, PRIVATE, UNKNOWN;
|
||||
|
||||
public static Visibility from(String value) {
|
||||
return EnumUtils.getNullableEnumOrDefault(Visibility.class, value, Visibility.UNKNOWN);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name().toLowerCase(Locale.ROOT);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the visibility of the repository.
|
||||
*
|
||||
* @return the visibility
|
||||
*/
|
||||
@Deprecated
|
||||
@Preview(NEBULA)
|
||||
public Visibility getVisibility() {
|
||||
if (visibility == null) {
|
||||
try {
|
||||
populate();
|
||||
} catch (final IOException e) {
|
||||
// Convert this to a runtime exception to avoid messy method signature
|
||||
throw new GHException("Could not populate the visibility of the repository", e);
|
||||
}
|
||||
}
|
||||
return Visibility.from(visibility);
|
||||
}
|
||||
|
||||
/**
|
||||
* Is template boolean.
|
||||
*
|
||||
@@ -1196,6 +1242,26 @@ public class GHRepository extends GHObject {
|
||||
set().private_(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets visibility.
|
||||
*
|
||||
* @param value
|
||||
* the value
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
@Deprecated
|
||||
@Preview(NEBULA)
|
||||
public void setVisibility(final Visibility value) throws IOException {
|
||||
root.createRequest()
|
||||
.method("PATCH")
|
||||
.withPreview(NEBULA)
|
||||
.with("name", name)
|
||||
.with("visibility", value)
|
||||
.withUrlPath(getApiTailUrl(""))
|
||||
.send();
|
||||
}
|
||||
|
||||
/**
|
||||
* Allow squash merge.
|
||||
*
|
||||
@@ -2904,9 +2970,7 @@ public class GHRepository extends GHObject {
|
||||
* @return the paged iterable
|
||||
*/
|
||||
public PagedIterable<GHWorkflow> listWorkflows() {
|
||||
return root.createRequest()
|
||||
.withUrlPath(getApiTailUrl("actions/workflows"))
|
||||
.toIterable(GHWorkflow[].class, item -> item.wrapUp(root));
|
||||
return new GHWorkflowsIterable(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2963,6 +3027,47 @@ public class GHRepository extends GHObject {
|
||||
.wrapUp(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists all the artifacts of this repository.
|
||||
*
|
||||
* @return the paged iterable
|
||||
*/
|
||||
public PagedIterable<GHArtifact> listArtifacts() {
|
||||
return new GHArtifactsIterable(this, root.createRequest().withUrlPath(getApiTailUrl("actions/artifacts")));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets an artifact by id.
|
||||
*
|
||||
* @param id
|
||||
* the id of the artifact
|
||||
* @return the artifact
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
public GHArtifact getArtifact(long id) throws IOException {
|
||||
return root.createRequest()
|
||||
.withUrlPath(getApiTailUrl("actions/artifacts"), String.valueOf(id))
|
||||
.fetch(GHArtifact.class)
|
||||
.wrapUp(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a job from a workflow run by id.
|
||||
*
|
||||
* @param id
|
||||
* the id of the job
|
||||
* @return the job
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
public GHWorkflowJob getWorkflowJob(long id) throws IOException {
|
||||
return root.createRequest()
|
||||
.withUrlPath(getApiTailUrl("/actions/jobs/"), String.valueOf(id))
|
||||
.fetch(GHWorkflowJob.class)
|
||||
.wrapUp(this);
|
||||
}
|
||||
|
||||
// Only used within listTopics().
|
||||
private static class Topics {
|
||||
public List<String> names;
|
||||
@@ -3093,11 +3198,17 @@ public class GHRepository extends GHObject {
|
||||
// There is bug in Push event payloads that returns the wrong url.
|
||||
// All other occurrences of "url" take the form "https://api.github.com/...".
|
||||
// For Push event repository records, they take the form "https://github.com/{fullName}".
|
||||
root.createRequest().withPreview(BAPTISTE).setRawUrlPath(url.toString()).fetchInto(this).wrap(root);
|
||||
root.createRequest()
|
||||
.withPreview(BAPTISTE)
|
||||
.withPreview(NEBULA)
|
||||
.setRawUrlPath(url.toString())
|
||||
.fetchInto(this)
|
||||
.wrap(root);
|
||||
} catch (HttpException e) {
|
||||
if (e.getCause() instanceof JsonParseException) {
|
||||
root.createRequest()
|
||||
.withPreview(BAPTISTE)
|
||||
.withPreview(NEBULA)
|
||||
.withUrlPath("/repos/" + full_name)
|
||||
.fetchInto(this)
|
||||
.wrap(root);
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import org.kohsuke.github.GHRepository.Visibility;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import static org.kohsuke.github.internal.Previews.BAPTISTE;
|
||||
import static org.kohsuke.github.internal.Previews.NEBULA;
|
||||
|
||||
abstract class GHRepositoryBuilder<S> extends AbstractBuilder<GHRepository, S> {
|
||||
|
||||
@@ -146,6 +149,20 @@ abstract class GHRepositoryBuilder<S> extends AbstractBuilder<GHRepository, S> {
|
||||
return with("private", enabled);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the repository visibility
|
||||
*
|
||||
* @param visibility
|
||||
* visibility of repository
|
||||
* @return a builder to continue with building
|
||||
* @throws IOException
|
||||
* In case of any networking error or error from the server.
|
||||
*/
|
||||
public S visibility(final Visibility visibility) throws IOException {
|
||||
requester.withPreview(NEBULA);
|
||||
return with("visibility", visibility);
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables issue tracker
|
||||
*
|
||||
|
||||
@@ -60,6 +60,15 @@ public class GHWorkflow extends GHObject {
|
||||
return GitHubClient.parseURL(htmlUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Repository to which the workflow belongs.
|
||||
*
|
||||
* @return the repository
|
||||
*/
|
||||
public GHRepository getRepository() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
/**
|
||||
* The badge URL, like https://github.com/octo-org/octo-repo/workflows/CI/badge.svg
|
||||
*
|
||||
|
||||
256
src/main/java/org/kohsuke/github/GHWorkflowJob.java
Normal file
256
src/main/java/org/kohsuke/github/GHWorkflowJob.java
Normal file
@@ -0,0 +1,256 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.kohsuke.github.GHWorkflowRun.Conclusion;
|
||||
import org.kohsuke.github.GHWorkflowRun.Status;
|
||||
import org.kohsuke.github.function.InputStreamFunction;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
||||
/**
|
||||
* A workflow run job.
|
||||
*
|
||||
* @author Guillaume Smet
|
||||
*/
|
||||
public class GHWorkflowJob extends GHObject {
|
||||
|
||||
// Not provided by the API.
|
||||
@JsonIgnore
|
||||
private GHRepository owner;
|
||||
|
||||
private String name;
|
||||
|
||||
private String headSha;
|
||||
|
||||
private String startedAt;
|
||||
private String completedAt;
|
||||
|
||||
private String status;
|
||||
private String conclusion;
|
||||
|
||||
private long runId;
|
||||
|
||||
private String htmlUrl;
|
||||
private String checkRunUrl;
|
||||
|
||||
private List<Step> steps = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* The name of the job.
|
||||
*
|
||||
* @return the name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the HEAD SHA.
|
||||
*
|
||||
* @return sha for the HEAD commit
|
||||
*/
|
||||
public String getHeadSha() {
|
||||
return headSha;
|
||||
}
|
||||
|
||||
/**
|
||||
* When was this job started?
|
||||
*
|
||||
* @return start date
|
||||
*/
|
||||
public Date getStartedAt() {
|
||||
return GitHubClient.parseDate(startedAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* When was this job completed?
|
||||
*
|
||||
* @return completion date
|
||||
*/
|
||||
public Date getCompletedAt() {
|
||||
return GitHubClient.parseDate(completedAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets status of the job.
|
||||
* <p>
|
||||
* Can be {@code UNKNOWN} if the value returned by GitHub is unknown from the API.
|
||||
*
|
||||
* @return status of the job
|
||||
*/
|
||||
public Status getStatus() {
|
||||
return Status.from(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the conclusion of the job.
|
||||
* <p>
|
||||
* Can be {@code UNKNOWN} if the value returned by GitHub is unknown from the API.
|
||||
*
|
||||
* @return conclusion of the job
|
||||
*/
|
||||
public Conclusion getConclusion() {
|
||||
return Conclusion.from(conclusion);
|
||||
}
|
||||
|
||||
/**
|
||||
* The run id.
|
||||
*
|
||||
* @return the run id
|
||||
*/
|
||||
public long getRunId() {
|
||||
return runId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public URL getHtmlUrl() {
|
||||
return GitHubClient.parseURL(htmlUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* The check run URL.
|
||||
*
|
||||
* @return the check run url
|
||||
*/
|
||||
public URL getCheckRunUrl() {
|
||||
return GitHubClient.parseURL(checkRunUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the execution steps of this job.
|
||||
*
|
||||
* @return the execution steps
|
||||
*/
|
||||
public List<Step> getSteps() {
|
||||
return steps;
|
||||
}
|
||||
|
||||
/**
|
||||
* Repository to which the job belongs.
|
||||
*
|
||||
* @return the repository
|
||||
*/
|
||||
public GHRepository getRepository() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads the logs.
|
||||
* <p>
|
||||
* The logs are returned as a text file.
|
||||
*
|
||||
* @param <T>
|
||||
* the type of result
|
||||
* @param streamFunction
|
||||
* The {@link InputStreamFunction} that will process the stream
|
||||
* @throws IOException
|
||||
* The IO exception.
|
||||
* @return the result of reading the stream.
|
||||
*/
|
||||
public <T> T downloadLogs(InputStreamFunction<T> streamFunction) throws IOException {
|
||||
requireNonNull(streamFunction, "Stream function must not be null");
|
||||
|
||||
return root.createRequest().method("GET").withUrlPath(getApiRoute(), "logs").fetchStream(streamFunction);
|
||||
}
|
||||
|
||||
private String getApiRoute() {
|
||||
if (owner == null) {
|
||||
// Workflow runs returned from search to do not have an owner. Attempt to use url.
|
||||
final URL url = Objects.requireNonNull(getUrl(), "Missing instance URL!");
|
||||
return StringUtils.prependIfMissing(url.toString().replace(root.getApiUrl(), ""), "/");
|
||||
|
||||
}
|
||||
return "/repos/" + owner.getOwnerName() + "/" + owner.getName() + "/actions/jobs/" + getId();
|
||||
}
|
||||
|
||||
GHWorkflowJob wrapUp(GHRepository owner) {
|
||||
this.owner = owner;
|
||||
return wrapUp(owner.root);
|
||||
}
|
||||
|
||||
GHWorkflowJob wrapUp(GitHub root) {
|
||||
this.root = root;
|
||||
if (owner != null) {
|
||||
owner.wrap(root);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public static class Step {
|
||||
|
||||
private String name;
|
||||
private int number;
|
||||
|
||||
private String startedAt;
|
||||
private String completedAt;
|
||||
|
||||
private String status;
|
||||
private String conclusion;
|
||||
|
||||
/**
|
||||
* Gets the name of the step.
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the sequential number of the step.
|
||||
*
|
||||
* @return number
|
||||
*/
|
||||
public int getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
/**
|
||||
* When was this step started?
|
||||
*
|
||||
* @return start date
|
||||
*/
|
||||
public Date getStartedAt() {
|
||||
return GitHubClient.parseDate(startedAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* When was this step completed?
|
||||
*
|
||||
* @return completion date
|
||||
*/
|
||||
public Date getCompletedAt() {
|
||||
return GitHubClient.parseDate(completedAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets status of the step.
|
||||
* <p>
|
||||
* Can be {@code UNKNOWN} if the value returned by GitHub is unknown from the API.
|
||||
*
|
||||
* @return status of the step
|
||||
*/
|
||||
public Status getStatus() {
|
||||
return Status.from(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the conclusion of the step.
|
||||
* <p>
|
||||
* Can be {@code UNKNOWN} if the value returned by GitHub is unknown from the API.
|
||||
*
|
||||
* @return conclusion of the step
|
||||
*/
|
||||
public Conclusion getConclusion() {
|
||||
return Conclusion.from(conclusion);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
|
||||
/**
|
||||
* Lists up jobs of a workflow run with some filtering.
|
||||
*
|
||||
* @author Guillaume Smet
|
||||
*/
|
||||
public class GHWorkflowJobQueryBuilder extends GHQueryBuilder<GHWorkflowJob> {
|
||||
private final GHRepository repo;
|
||||
|
||||
GHWorkflowJobQueryBuilder(GHWorkflowRun workflowRun) {
|
||||
super(workflowRun.getRepository().root);
|
||||
this.repo = workflowRun.getRepository();
|
||||
req.withUrlPath(repo.getApiTailUrl("actions/runs"), String.valueOf(workflowRun.getId()), "jobs");
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply a filter to only return the jobs of the most recent execution of the workflow run.
|
||||
*
|
||||
* @return the workflow run job query builder
|
||||
*/
|
||||
public GHWorkflowJobQueryBuilder latest() {
|
||||
req.with("filter", "latest");
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply a filter to return jobs from all executions of this workflow run.
|
||||
*
|
||||
* @return the workflow run job run query builder
|
||||
*/
|
||||
public GHWorkflowJobQueryBuilder all() {
|
||||
req.with("filter", "all");
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PagedIterable<GHWorkflowJob> list() {
|
||||
try {
|
||||
return new GHWorkflowJobsIterable(repo, req.build());
|
||||
} catch (MalformedURLException e) {
|
||||
throw new GHException(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
44
src/main/java/org/kohsuke/github/GHWorkflowJobsIterable.java
Normal file
44
src/main/java/org/kohsuke/github/GHWorkflowJobsIterable.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
/**
|
||||
* Iterable for workflow run jobs listing.
|
||||
*/
|
||||
class GHWorkflowJobsIterable extends PagedIterable<GHWorkflowJob> {
|
||||
private final GHRepository repo;
|
||||
private final GitHubRequest request;
|
||||
|
||||
private GHWorkflowJobsPage result;
|
||||
|
||||
public GHWorkflowJobsIterable(GHRepository repo, GitHubRequest request) {
|
||||
this.repo = repo;
|
||||
this.request = request;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public PagedIterator<GHWorkflowJob> _iterator(int pageSize) {
|
||||
return new PagedIterator<>(
|
||||
adapt(GitHubPageIterator.create(repo.root.getClient(), GHWorkflowJobsPage.class, request, pageSize)),
|
||||
null);
|
||||
}
|
||||
|
||||
protected Iterator<GHWorkflowJob[]> adapt(final Iterator<GHWorkflowJobsPage> base) {
|
||||
return new Iterator<GHWorkflowJob[]>() {
|
||||
public boolean hasNext() {
|
||||
return base.hasNext();
|
||||
}
|
||||
|
||||
public GHWorkflowJob[] next() {
|
||||
GHWorkflowJobsPage v = base.next();
|
||||
if (result == null) {
|
||||
result = v;
|
||||
}
|
||||
return v.getWorkflowJobs(repo);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
20
src/main/java/org/kohsuke/github/GHWorkflowJobsPage.java
Normal file
20
src/main/java/org/kohsuke/github/GHWorkflowJobsPage.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
/**
|
||||
* Represents the one page of jobs result when listing jobs from a workflow run.
|
||||
*/
|
||||
class GHWorkflowJobsPage {
|
||||
private int total_count;
|
||||
private GHWorkflowJob[] jobs;
|
||||
|
||||
public int getTotalCount() {
|
||||
return total_count;
|
||||
}
|
||||
|
||||
GHWorkflowJob[] getWorkflowJobs(GHRepository repo) {
|
||||
for (GHWorkflowJob job : jobs) {
|
||||
job.wrapUp(repo);
|
||||
}
|
||||
return jobs;
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@ package org.kohsuke.github;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.kohsuke.github.function.InputStreamFunction;
|
||||
import org.kohsuke.github.internal.EnumUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
@@ -13,6 +14,8 @@ import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Objects;
|
||||
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
||||
/**
|
||||
* A workflow run.
|
||||
*
|
||||
@@ -83,7 +86,7 @@ public class GHWorkflowRun extends GHObject {
|
||||
/**
|
||||
* The jobs URL, like https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/jobs
|
||||
*
|
||||
* @return the diff url
|
||||
* @return the jobs url
|
||||
*/
|
||||
public URL getJobsUrl() {
|
||||
return GitHubClient.parseURL(jobsUrl);
|
||||
@@ -92,7 +95,7 @@ public class GHWorkflowRun extends GHObject {
|
||||
/**
|
||||
* The logs URL, like https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/logs
|
||||
*
|
||||
* @return the diff url
|
||||
* @return the logs url
|
||||
*/
|
||||
public URL getLogsUrl() {
|
||||
return GitHubClient.parseURL(logsUrl);
|
||||
@@ -101,7 +104,7 @@ public class GHWorkflowRun extends GHObject {
|
||||
/**
|
||||
* The check suite URL, like https://api.github.com/repos/octo-org/octo-repo/check-suites/414944374
|
||||
*
|
||||
* @return the diff url
|
||||
* @return the check suite url
|
||||
*/
|
||||
public URL getCheckSuiteUrl() {
|
||||
return GitHubClient.parseURL(checkSuiteUrl);
|
||||
@@ -110,7 +113,7 @@ public class GHWorkflowRun extends GHObject {
|
||||
/**
|
||||
* The artifacts URL, like https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/artifacts
|
||||
*
|
||||
* @return the diff url
|
||||
* @return the artifacts url
|
||||
*/
|
||||
public URL getArtifactsUrl() {
|
||||
return GitHubClient.parseURL(artifactsUrl);
|
||||
@@ -119,7 +122,7 @@ public class GHWorkflowRun extends GHObject {
|
||||
/**
|
||||
* The cancel URL, like https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/cancel
|
||||
*
|
||||
* @return the diff url
|
||||
* @return the cancel url
|
||||
*/
|
||||
public URL getCancelUrl() {
|
||||
return GitHubClient.parseURL(cancelUrl);
|
||||
@@ -128,7 +131,7 @@ public class GHWorkflowRun extends GHObject {
|
||||
/**
|
||||
* The rerun URL, like https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/rerun
|
||||
*
|
||||
* @return the diff url
|
||||
* @return the rerun url
|
||||
*/
|
||||
public URL getRerunUrl() {
|
||||
return GitHubClient.parseURL(rerunUrl);
|
||||
@@ -137,7 +140,7 @@ public class GHWorkflowRun extends GHObject {
|
||||
/**
|
||||
* The workflow URL, like https://api.github.com/repos/octo-org/octo-repo/actions/workflows/159038
|
||||
*
|
||||
* @return the diff url
|
||||
* @return the workflow url
|
||||
*/
|
||||
public URL getWorkflowUrl() {
|
||||
return GitHubClient.parseURL(workflowUrl);
|
||||
@@ -210,6 +213,15 @@ public class GHWorkflowRun extends GHObject {
|
||||
return Conclusion.from(conclusion);
|
||||
}
|
||||
|
||||
/**
|
||||
* Repository to which the workflow run belongs.
|
||||
*
|
||||
* @return the repository
|
||||
*/
|
||||
public GHRepository getRepository() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the pull requests participated in this workflow run.
|
||||
*
|
||||
@@ -261,6 +273,64 @@ public class GHWorkflowRun extends GHObject {
|
||||
root.createRequest().method("POST").withUrlPath(getApiRoute(), "rerun").fetchHttpStatusCode();
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists the artifacts attached to this workflow run.
|
||||
*
|
||||
* @return the paged iterable
|
||||
*/
|
||||
public PagedIterable<GHArtifact> listArtifacts() {
|
||||
return new GHArtifactsIterable(owner, root.createRequest().withUrlPath(getApiRoute(), "artifacts"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads the logs.
|
||||
* <p>
|
||||
* The logs are in the form of a zip archive.
|
||||
* <p>
|
||||
* Note that the archive is the same as the one downloaded from a workflow run so it contains the logs for all jobs.
|
||||
*
|
||||
* @param <T>
|
||||
* the type of result
|
||||
* @param streamFunction
|
||||
* The {@link InputStreamFunction} that will process the stream
|
||||
* @throws IOException
|
||||
* The IO exception.
|
||||
* @return the result of reading the stream.
|
||||
*/
|
||||
public <T> T downloadLogs(InputStreamFunction<T> streamFunction) throws IOException {
|
||||
requireNonNull(streamFunction, "Stream function must not be null");
|
||||
|
||||
return root.createRequest().method("GET").withUrlPath(getApiRoute(), "logs").fetchStream(streamFunction);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete the logs.
|
||||
*
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
public void deleteLogs() throws IOException {
|
||||
root.createRequest().method("DELETE").withUrlPath(getApiRoute(), "logs").fetchHttpStatusCode();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of jobs of this workflow run for the last execution.
|
||||
*
|
||||
* @return list of jobs from the last execution
|
||||
*/
|
||||
public PagedIterable<GHWorkflowJob> listJobs() {
|
||||
return new GHWorkflowJobQueryBuilder(this).latest().list();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of jobs from all the executions of this workflow run.
|
||||
*
|
||||
* @return list of jobs from all the executions
|
||||
*/
|
||||
public PagedIterable<GHWorkflowJob> listAllJobs() {
|
||||
return new GHWorkflowJobQueryBuilder(this).all().list();
|
||||
}
|
||||
|
||||
private String getApiRoute() {
|
||||
if (owner == null) {
|
||||
// Workflow runs returned from search to do not have an owner. Attempt to use url.
|
||||
|
||||
@@ -93,7 +93,7 @@ public class GHWorkflowRunQueryBuilder extends GHQueryBuilder<GHWorkflowRun> {
|
||||
@Override
|
||||
public PagedIterable<GHWorkflowRun> list() {
|
||||
try {
|
||||
return new GHWorkflowRunsIterable(root, req.withUrlPath(repo.getApiTailUrl("actions/runs")).build());
|
||||
return new GHWorkflowRunsIterable(repo, req.withUrlPath(repo.getApiTailUrl("actions/runs")).build());
|
||||
} catch (MalformedURLException e) {
|
||||
throw new GHException(e.getMessage(), e);
|
||||
}
|
||||
|
||||
@@ -8,13 +8,13 @@ import javax.annotation.Nonnull;
|
||||
* Iterable for workflow runs listing.
|
||||
*/
|
||||
class GHWorkflowRunsIterable extends PagedIterable<GHWorkflowRun> {
|
||||
private final transient GitHub root;
|
||||
private final GHRepository owner;
|
||||
private final GitHubRequest request;
|
||||
|
||||
private GHWorkflowRunsPage result;
|
||||
|
||||
public GHWorkflowRunsIterable(GitHub root, GitHubRequest request) {
|
||||
this.root = root;
|
||||
public GHWorkflowRunsIterable(GHRepository owner, GitHubRequest request) {
|
||||
this.owner = owner;
|
||||
this.request = request;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,8 @@ class GHWorkflowRunsIterable extends PagedIterable<GHWorkflowRun> {
|
||||
@Override
|
||||
public PagedIterator<GHWorkflowRun> _iterator(int pageSize) {
|
||||
return new PagedIterator<>(
|
||||
adapt(GitHubPageIterator.create(root.getClient(), GHWorkflowRunsPage.class, request, pageSize)),
|
||||
adapt(GitHubPageIterator
|
||||
.create(owner.getRoot().getClient(), GHWorkflowRunsPage.class, request, pageSize)),
|
||||
null);
|
||||
}
|
||||
|
||||
@@ -37,7 +38,7 @@ class GHWorkflowRunsIterable extends PagedIterable<GHWorkflowRun> {
|
||||
if (result == null) {
|
||||
result = v;
|
||||
}
|
||||
return v.getWorkflowRuns(root);
|
||||
return v.getWorkflowRuns(owner);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,9 +11,9 @@ class GHWorkflowRunsPage {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
GHWorkflowRun[] getWorkflowRuns(GitHub root) {
|
||||
GHWorkflowRun[] getWorkflowRuns(GHRepository owner) {
|
||||
for (GHWorkflowRun workflowRun : workflowRuns) {
|
||||
workflowRun.wrapUp(root);
|
||||
workflowRun.wrapUp(owner);
|
||||
}
|
||||
return workflowRuns;
|
||||
}
|
||||
|
||||
53
src/main/java/org/kohsuke/github/GHWorkflowsIterable.java
Normal file
53
src/main/java/org/kohsuke/github/GHWorkflowsIterable.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.util.Iterator;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
/**
|
||||
* Iterable for workflows listing.
|
||||
*/
|
||||
class GHWorkflowsIterable extends PagedIterable<GHWorkflow> {
|
||||
private final transient GHRepository owner;
|
||||
|
||||
private GHWorkflowsPage result;
|
||||
|
||||
public GHWorkflowsIterable(GHRepository owner) {
|
||||
this.owner = owner;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public PagedIterator<GHWorkflow> _iterator(int pageSize) {
|
||||
try {
|
||||
GitHubRequest request = owner.getRoot()
|
||||
.createRequest()
|
||||
.withUrlPath(owner.getApiTailUrl("actions/workflows"))
|
||||
.build();
|
||||
|
||||
return new PagedIterator<>(
|
||||
adapt(GitHubPageIterator
|
||||
.create(owner.getRoot().getClient(), GHWorkflowsPage.class, request, pageSize)),
|
||||
null);
|
||||
} catch (MalformedURLException e) {
|
||||
throw new GHException("Malformed URL", e);
|
||||
}
|
||||
}
|
||||
|
||||
protected Iterator<GHWorkflow[]> adapt(final Iterator<GHWorkflowsPage> base) {
|
||||
return new Iterator<GHWorkflow[]>() {
|
||||
public boolean hasNext() {
|
||||
return base.hasNext();
|
||||
}
|
||||
|
||||
public GHWorkflow[] next() {
|
||||
GHWorkflowsPage v = base.next();
|
||||
if (result == null) {
|
||||
result = v;
|
||||
}
|
||||
return v.getWorkflows(owner);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
20
src/main/java/org/kohsuke/github/GHWorkflowsPage.java
Normal file
20
src/main/java/org/kohsuke/github/GHWorkflowsPage.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
/**
|
||||
* Represents the one page of workflow result when listing workflows.
|
||||
*/
|
||||
class GHWorkflowsPage {
|
||||
private int total_count;
|
||||
private GHWorkflow[] workflows;
|
||||
|
||||
public int getTotalCount() {
|
||||
return total_count;
|
||||
}
|
||||
|
||||
GHWorkflow[] getWorkflows(GHRepository owner) {
|
||||
for (GHWorkflow workflow : workflows) {
|
||||
workflow.wrapUp(owner);
|
||||
}
|
||||
return workflows;
|
||||
}
|
||||
}
|
||||
@@ -70,6 +70,7 @@ public class EnumTest extends AbstractGitHubWireMockTest {
|
||||
|
||||
assertThat(GHRepository.CollaboratorAffiliation.values().length, equalTo(3));
|
||||
assertThat(GHRepository.ForkSort.values().length, equalTo(3));
|
||||
assertThat(GHRepository.Visibility.values().length, equalTo(4));
|
||||
|
||||
assertThat(GHRepositorySearchBuilder.Sort.values().length, equalTo(3));
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.JsonMappingException;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.junit.Test;
|
||||
import org.kohsuke.github.GHCheckRun.Conclusion;
|
||||
import org.kohsuke.github.GHRepository.Visibility;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
@@ -249,6 +250,30 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(redux.getDescription(), equalTo(updatedDescription));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetRepositoryWithVisibility() throws IOException {
|
||||
snapshotNotAllowed();
|
||||
final String repoName = "test-repo-visibility";
|
||||
final GHRepository repo = getTempRepository(repoName);
|
||||
assertEquals(Visibility.PUBLIC, repo.getVisibility());
|
||||
|
||||
repo.setVisibility(Visibility.INTERNAL);
|
||||
assertEquals(Visibility.INTERNAL,
|
||||
gitHub.getRepository(repo.getOwnerName() + "/" + repo.getName()).getVisibility());
|
||||
|
||||
repo.setVisibility(Visibility.PRIVATE);
|
||||
assertEquals(Visibility.PRIVATE,
|
||||
gitHub.getRepository(repo.getOwnerName() + "/" + repo.getName()).getVisibility());
|
||||
|
||||
repo.setVisibility(Visibility.PUBLIC);
|
||||
assertEquals(Visibility.PUBLIC,
|
||||
gitHub.getRepository(repo.getOwnerName() + "/" + repo.getName()).getVisibility());
|
||||
|
||||
// deliberately bogus response in snapshot
|
||||
assertEquals(Visibility.UNKNOWN,
|
||||
gitHub.getRepository(repo.getOwnerName() + "/" + repo.getName()).getVisibility());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listContributors() throws IOException {
|
||||
GHRepository r = gitHub.getOrganization("hub4j").getRepository("github-api");
|
||||
|
||||
@@ -4,14 +4,27 @@ import org.awaitility.Awaitility;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.kohsuke.github.GHWorkflowJob.Step;
|
||||
import org.kohsuke.github.GHWorkflowRun.Conclusion;
|
||||
import org.kohsuke.github.GHWorkflowRun.Status;
|
||||
import org.kohsuke.github.function.InputStreamFunction;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.time.Duration;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.Scanner;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipInputStream;
|
||||
|
||||
import static org.hamcrest.Matchers.containsString;
|
||||
import static org.hamcrest.Matchers.greaterThan;
|
||||
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
|
||||
import static org.hamcrest.Matchers.hasItems;
|
||||
import static org.hamcrest.Matchers.is;
|
||||
|
||||
public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
|
||||
@@ -25,6 +38,13 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
private static final String SLOW_WORKFLOW_PATH = "slow-workflow.yml";
|
||||
private static final String SLOW_WORKFLOW_NAME = "Slow workflow";
|
||||
|
||||
private static final String ARTIFACTS_WORKFLOW_PATH = "artifacts-workflow.yml";
|
||||
private static final String ARTIFACTS_WORKFLOW_NAME = "Artifacts workflow";
|
||||
|
||||
private static final String MULTI_JOBS_WORKFLOW_PATH = "multi-jobs-workflow.yml";
|
||||
private static final String MULTI_JOBS_WORKFLOW_NAME = "Multi jobs workflow";
|
||||
private static final String RUN_A_ONE_LINE_SCRIPT_STEP_NAME = "Run a one-line script";
|
||||
|
||||
private GHRepository repo;
|
||||
|
||||
@Before
|
||||
@@ -53,6 +73,9 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
() -> new IllegalStateException("We must have a valid workflow run starting from here"));
|
||||
|
||||
assertEquals(workflow.getId(), workflowRun.getWorkflowId());
|
||||
assertNotNull(workflowRun.getId());
|
||||
assertNotNull(workflowRun.getNodeId());
|
||||
assertEquals(REPO_NAME, workflowRun.getRepository().getFullName());
|
||||
assertTrue(workflowRun.getUrl().getPath().contains("/actions/runs/"));
|
||||
assertTrue(workflowRun.getHtmlUrl().getPath().contains("/actions/runs/"));
|
||||
assertTrue(workflowRun.getJobsUrl().getPath().endsWith("/jobs"));
|
||||
@@ -178,6 +201,171 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
assertEquals(Conclusion.SUCCESS, workflowRun.getConclusion());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testLogs() throws IOException {
|
||||
GHWorkflow workflow = repo.getWorkflow(FAST_WORKFLOW_PATH);
|
||||
|
||||
long latestPreexistingWorkflowRunId = getLatestPreexistingWorkflowRunId();
|
||||
|
||||
workflow.dispatch(MAIN_BRANCH);
|
||||
|
||||
await((nonRecordingRepo) -> getWorkflowRun(nonRecordingRepo,
|
||||
FAST_WORKFLOW_NAME,
|
||||
MAIN_BRANCH,
|
||||
Status.COMPLETED,
|
||||
latestPreexistingWorkflowRunId).isPresent());
|
||||
|
||||
GHWorkflowRun workflowRun = getWorkflowRun(FAST_WORKFLOW_NAME,
|
||||
MAIN_BRANCH,
|
||||
Status.COMPLETED,
|
||||
latestPreexistingWorkflowRunId).orElseThrow(
|
||||
() -> new IllegalStateException("We must have a valid workflow run starting from here"));
|
||||
|
||||
List<String> logsArchiveEntries = new ArrayList<>();
|
||||
String fullLogContent = workflowRun
|
||||
.downloadLogs(getLogArchiveInputStreamFunction("1_build.txt", logsArchiveEntries));
|
||||
|
||||
assertThat(logsArchiveEntries, hasItems("1_build.txt", "build/9_Complete job.txt"));
|
||||
assertThat(fullLogContent, containsString("Hello, world!"));
|
||||
|
||||
workflowRun.deleteLogs();
|
||||
|
||||
try {
|
||||
workflowRun.downloadLogs((is) -> "");
|
||||
Assert.fail("Downloading logs should not be possible as they were deleted");
|
||||
} catch (GHFileNotFoundException e) {
|
||||
assertThat(e.getMessage(), containsString("Not Found"));
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
@Test
|
||||
public void testArtifacts() throws IOException {
|
||||
GHWorkflow workflow = repo.getWorkflow(ARTIFACTS_WORKFLOW_PATH);
|
||||
|
||||
long latestPreexistingWorkflowRunId = getLatestPreexistingWorkflowRunId();
|
||||
|
||||
workflow.dispatch(MAIN_BRANCH);
|
||||
|
||||
await((nonRecordingRepo) -> getWorkflowRun(nonRecordingRepo,
|
||||
ARTIFACTS_WORKFLOW_NAME,
|
||||
MAIN_BRANCH,
|
||||
Status.COMPLETED,
|
||||
latestPreexistingWorkflowRunId).isPresent());
|
||||
|
||||
GHWorkflowRun workflowRun = getWorkflowRun(ARTIFACTS_WORKFLOW_NAME,
|
||||
MAIN_BRANCH,
|
||||
Status.COMPLETED,
|
||||
latestPreexistingWorkflowRunId).orElseThrow(
|
||||
() -> new IllegalStateException("We must have a valid workflow run starting from here"));
|
||||
|
||||
List<GHArtifact> artifacts = new ArrayList<>(workflowRun.listArtifacts().toList());
|
||||
artifacts.sort((a1, a2) -> a1.getName().compareTo(a2.getName()));
|
||||
|
||||
assertThat(artifacts.size(), is(2));
|
||||
|
||||
// Test properties
|
||||
checkArtifactProperties(artifacts.get(0), "artifact1");
|
||||
checkArtifactProperties(artifacts.get(1), "artifact2");
|
||||
|
||||
// Test download
|
||||
String artifactContent = artifacts.get(0).download((is) -> {
|
||||
try (ZipInputStream zis = new ZipInputStream(is)) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
ZipEntry ze = zis.getNextEntry();
|
||||
assertThat(ze.getName(), is("artifact1.txt"));
|
||||
|
||||
// the scanner has to be kept open to avoid closing zis
|
||||
Scanner scanner = new Scanner(zis);
|
||||
while (scanner.hasNextLine()) {
|
||||
sb.append(scanner.nextLine());
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
});
|
||||
|
||||
assertThat(artifactContent, is("artifact1"));
|
||||
|
||||
// Test GHRepository#getArtifact(long) as we are sure we have artifacts around
|
||||
GHArtifact artifactById = repo.getArtifact(artifacts.get(0).getId());
|
||||
checkArtifactProperties(artifactById, "artifact1");
|
||||
|
||||
artifactById = repo.getArtifact(artifacts.get(1).getId());
|
||||
checkArtifactProperties(artifactById, "artifact2");
|
||||
|
||||
// Test GHRepository#listArtifacts() as we are sure we have artifacts around
|
||||
List<GHArtifact> artifactsFromRepo = new ArrayList<>(
|
||||
repo.listArtifacts().withPageSize(2).iterator().nextPage());
|
||||
artifactsFromRepo.sort((a1, a2) -> a1.getName().compareTo(a2.getName()));
|
||||
|
||||
// We have at least the two artifacts we just added
|
||||
assertThat(artifactsFromRepo.size(), is(2));
|
||||
|
||||
// Test properties
|
||||
checkArtifactProperties(artifactsFromRepo.get(0), "artifact1");
|
||||
checkArtifactProperties(artifactsFromRepo.get(1), "artifact2");
|
||||
|
||||
// Now let's test the delete() method
|
||||
GHArtifact artifact1 = artifacts.get(0);
|
||||
artifact1.delete();
|
||||
|
||||
try {
|
||||
repo.getArtifact(artifact1.getId());
|
||||
Assert.fail("Getting the artifact should fail as it was deleted");
|
||||
} catch (GHFileNotFoundException e) {
|
||||
assertThat(e.getMessage(), containsString("Not Found"));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testJobs() throws IOException {
|
||||
GHWorkflow workflow = repo.getWorkflow(MULTI_JOBS_WORKFLOW_PATH);
|
||||
|
||||
long latestPreexistingWorkflowRunId = getLatestPreexistingWorkflowRunId();
|
||||
|
||||
workflow.dispatch(MAIN_BRANCH);
|
||||
|
||||
await((nonRecordingRepo) -> getWorkflowRun(nonRecordingRepo,
|
||||
MULTI_JOBS_WORKFLOW_NAME,
|
||||
MAIN_BRANCH,
|
||||
Status.COMPLETED,
|
||||
latestPreexistingWorkflowRunId).isPresent());
|
||||
|
||||
GHWorkflowRun workflowRun = getWorkflowRun(MULTI_JOBS_WORKFLOW_NAME,
|
||||
MAIN_BRANCH,
|
||||
Status.COMPLETED,
|
||||
latestPreexistingWorkflowRunId).orElseThrow(
|
||||
() -> new IllegalStateException("We must have a valid workflow run starting from here"));
|
||||
|
||||
List<GHWorkflowJob> jobs = workflowRun.listJobs()
|
||||
.toList()
|
||||
.stream()
|
||||
.sorted((j1, j2) -> j1.getName().compareTo(j2.getName()))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
assertThat(jobs.size(), is(2));
|
||||
|
||||
GHWorkflowJob job1 = jobs.get(0);
|
||||
checkJobProperties(workflowRun.getId(), job1, "job1");
|
||||
String fullLogContent = job1.downloadLogs(getLogTextInputStreamFunction());
|
||||
assertThat(fullLogContent, containsString("Hello from job1!"));
|
||||
|
||||
GHWorkflowJob job2 = jobs.get(1);
|
||||
checkJobProperties(workflowRun.getId(), job2, "job2");
|
||||
fullLogContent = job2.downloadLogs(getLogTextInputStreamFunction());
|
||||
assertThat(fullLogContent, containsString("Hello from job2!"));
|
||||
|
||||
// while we have a job around, test GHRepository#getWorkflowJob(id)
|
||||
GHWorkflowJob job1ById = repo.getWorkflowJob(job1.getId());
|
||||
checkJobProperties(workflowRun.getId(), job1ById, "job1");
|
||||
|
||||
// Also test listAllJobs() works correctly
|
||||
List<GHWorkflowJob> allJobs = workflowRun.listAllJobs().withPageSize(10).iterator().nextPage();
|
||||
assertThat(allJobs.size(), greaterThanOrEqualTo(2));
|
||||
}
|
||||
|
||||
private void await(Function<GHRepository, Boolean> condition) throws IOException {
|
||||
if (!mockGitHub.isUseProxy()) {
|
||||
return;
|
||||
@@ -230,4 +418,89 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
throw new IllegalStateException("Unable to get workflow run status", e);
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
private static InputStreamFunction<String> getLogArchiveInputStreamFunction(String mainLogFileName,
|
||||
List<String> logsArchiveEntries) {
|
||||
return (is) -> {
|
||||
try (ZipInputStream zis = new ZipInputStream(is)) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
ZipEntry ze;
|
||||
while ((ze = zis.getNextEntry()) != null) {
|
||||
logsArchiveEntries.add(ze.getName());
|
||||
if (mainLogFileName.equals(ze.getName())) {
|
||||
// the scanner has to be kept open to avoid closing zis
|
||||
Scanner scanner = new Scanner(zis);
|
||||
while (scanner.hasNextLine()) {
|
||||
sb.append(scanner.nextLine()).append("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
private static InputStreamFunction<String> getLogTextInputStreamFunction() {
|
||||
return (is) -> {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
Scanner scanner = new Scanner(is);
|
||||
while (scanner.hasNextLine()) {
|
||||
sb.append(scanner.nextLine()).append("\n");
|
||||
}
|
||||
return sb.toString();
|
||||
};
|
||||
}
|
||||
|
||||
private static void checkArtifactProperties(GHArtifact artifact, String artifactName) throws IOException {
|
||||
assertNotNull(artifact.getId());
|
||||
assertNotNull(artifact.getNodeId());
|
||||
assertEquals(REPO_NAME, artifact.getRepository().getFullName());
|
||||
assertThat(artifact.getName(), is(artifactName));
|
||||
assertThat(artifact.getArchiveDownloadUrl().getPath(), containsString("actions/artifacts"));
|
||||
assertNotNull(artifact.getCreatedAt());
|
||||
assertNotNull(artifact.getUpdatedAt());
|
||||
assertNotNull(artifact.getExpiresAt());
|
||||
assertThat(artifact.getSizeInBytes(), greaterThan(0L));
|
||||
assertFalse(artifact.isExpired());
|
||||
}
|
||||
|
||||
private static void checkJobProperties(long workflowRunId, GHWorkflowJob job, String jobName) throws IOException {
|
||||
assertNotNull(job.getId());
|
||||
assertNotNull(job.getNodeId());
|
||||
assertEquals(REPO_NAME, job.getRepository().getFullName());
|
||||
assertThat(job.getName(), is(jobName));
|
||||
assertNotNull(job.getStartedAt());
|
||||
assertNotNull(job.getCompletedAt());
|
||||
assertNotNull(job.getHeadSha());
|
||||
assertThat(job.getStatus(), is(Status.COMPLETED));
|
||||
assertThat(job.getConclusion(), is(Conclusion.SUCCESS));
|
||||
assertThat(job.getRunId(), is(workflowRunId));
|
||||
assertThat(job.getUrl().getPath(), containsString("/actions/jobs/"));
|
||||
assertThat(job.getHtmlUrl().getPath(), containsString("/runs/" + job.getId()));
|
||||
assertThat(job.getCheckRunUrl().getPath(), containsString("/check-runs/"));
|
||||
|
||||
// we only test the step we have control over, the others are added by GitHub
|
||||
Optional<Step> step = job.getSteps()
|
||||
.stream()
|
||||
.filter(s -> RUN_A_ONE_LINE_SCRIPT_STEP_NAME.equals(s.getName()))
|
||||
.findFirst();
|
||||
if (!step.isPresent()) {
|
||||
fail("Unable to find " + RUN_A_ONE_LINE_SCRIPT_STEP_NAME + " step");
|
||||
}
|
||||
|
||||
checkStepProperties(step.get(), RUN_A_ONE_LINE_SCRIPT_STEP_NAME, 2);
|
||||
}
|
||||
|
||||
private static void checkStepProperties(Step step, String name, int number) {
|
||||
assertThat(step.getName(), is(name));
|
||||
assertThat(step.getNumber(), is(number));
|
||||
assertThat(step.getStatus(), is(Status.COMPLETED));
|
||||
assertThat(step.getConclusion(), is(Conclusion.SUCCESS));
|
||||
assertNotNull(step.getStartedAt());
|
||||
assertNotNull(step.getCompletedAt());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ import org.junit.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import static com.github.tomakehurst.wiremock.client.WireMock.containing;
|
||||
import static com.github.tomakehurst.wiremock.client.WireMock.postRequestedFor;
|
||||
@@ -42,6 +43,7 @@ public class GHWorkflowTest extends AbstractGitHubWireMockTest {
|
||||
GHWorkflow workflow = repo.getWorkflow("test-workflow.yml");
|
||||
|
||||
assertEquals("test-workflow", workflow.getName());
|
||||
assertEquals(REPO_NAME, workflow.getRepository().getFullName());
|
||||
assertEquals(".github/workflows/test-workflow.yml", workflow.getPath());
|
||||
assertEquals("active", workflow.getState());
|
||||
assertEquals("/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", workflow.getUrl().getPath());
|
||||
@@ -86,4 +88,21 @@ public class GHWorkflowTest extends AbstractGitHubWireMockTest {
|
||||
.withRequestBody(containing("parameter"))
|
||||
.withRequestBody(containing("value")));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testListWorkflows() throws IOException {
|
||||
List<GHWorkflow> workflows = repo.listWorkflows().toList();
|
||||
|
||||
GHWorkflow workflow = workflows.get(0);
|
||||
assertEquals(6817859L, workflow.getId());
|
||||
assertEquals("MDg6V29ya2Zsb3c2ODE3ODU5", workflow.getNodeId());
|
||||
assertEquals("test-workflow", workflow.getName());
|
||||
assertEquals(".github/workflows/test-workflow.yml", workflow.getPath());
|
||||
assertEquals("active", workflow.getState());
|
||||
assertEquals("/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", workflow.getUrl().getPath());
|
||||
assertEquals("/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml",
|
||||
workflow.getHtmlUrl().getPath());
|
||||
assertEquals("/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg",
|
||||
workflow.getBadgeUrl().getPath());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,6 +69,10 @@ public class GitHubWireMockRule extends WireMockMultiServerRule {
|
||||
return servers.get("codeload");
|
||||
}
|
||||
|
||||
public WireMockServer actionsUserContentServer() {
|
||||
return servers.get("actions-user-content");
|
||||
}
|
||||
|
||||
public boolean isUseProxy() {
|
||||
return GitHubWireMockRule.useProxy;
|
||||
}
|
||||
@@ -97,6 +101,11 @@ public class GitHubWireMockRule extends WireMockMultiServerRule {
|
||||
if (new File(apiServer().getOptions().filesRoot().getPath() + "_codeload").exists() || isUseProxy()) {
|
||||
initializeServer("codeload");
|
||||
}
|
||||
|
||||
if (new File(apiServer().getOptions().filesRoot().getPath() + "_actions-user-content").exists()
|
||||
|| isUseProxy()) {
|
||||
initializeServer("actions-user-content");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -120,6 +129,11 @@ public class GitHubWireMockRule extends WireMockMultiServerRule {
|
||||
this.codeloadServer().stubFor(proxyAllTo("https://codeload.github.com").atPriority(100));
|
||||
}
|
||||
|
||||
if (this.actionsUserContentServer() != null) {
|
||||
this.actionsUserContentServer()
|
||||
.stubFor(proxyAllTo("https://pipelines.actions.githubusercontent.com").atPriority(100));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -137,6 +151,8 @@ public class GitHubWireMockRule extends WireMockMultiServerRule {
|
||||
recordSnapshot(this.uploadsServer(), "https://uploads.github.com", false);
|
||||
|
||||
recordSnapshot(this.codeloadServer(), "https://codeload.github.com", true);
|
||||
|
||||
recordSnapshot(this.actionsUserContentServer(), "https://pipelines.actions.githubusercontent.com", true);
|
||||
}
|
||||
|
||||
private void recordSnapshot(WireMockServer server, String target, boolean isRawServer) {
|
||||
@@ -233,6 +249,11 @@ public class GitHubWireMockRule extends WireMockMultiServerRule {
|
||||
fileText = fileText.replace(this.codeloadServer().baseUrl(), "https://codeload.github.com");
|
||||
}
|
||||
|
||||
if (this.actionsUserContentServer() != null) {
|
||||
fileText = fileText.replace(this.actionsUserContentServer().baseUrl(),
|
||||
"https://pipelines.actions.githubusercontent.com");
|
||||
}
|
||||
|
||||
// point bodyFile in the mapping to the renamed body file
|
||||
if (entry != null && filePath.toString().contains("mappings")) {
|
||||
fileText = fileText.replace("-" + entry.getKey(), "-" + entry.getValue());
|
||||
@@ -288,6 +309,11 @@ public class GitHubWireMockRule extends WireMockMultiServerRule {
|
||||
body = replaceTargetServerUrl(body, this.uploadsServer(), "https://uploads.github.com", "/uploads");
|
||||
|
||||
body = replaceTargetServerUrl(body, this.codeloadServer(), "https://codeload.github.com", "/codeload");
|
||||
|
||||
body = replaceTargetServerUrl(body,
|
||||
this.actionsUserContentServer(),
|
||||
"https://pipelines.actions.githubusercontent.com",
|
||||
"/actions-user-content");
|
||||
return body;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +93,7 @@
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"visibility": "public",
|
||||
"is_template": false,
|
||||
"forks": 0,
|
||||
"open_issues": 5,
|
||||
@@ -330,4 +331,4 @@
|
||||
},
|
||||
"network_count": 478,
|
||||
"subscribers_count": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json"
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -44,4 +44,4 @@
|
||||
"uuid": "90aa0017-3f50-4829-bda4-6531fbcfba60",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"visibility": "public",
|
||||
"is_template": true,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
@@ -125,4 +126,4 @@
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 8
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json"
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -44,4 +44,4 @@
|
||||
"uuid": "51d54e86-a714-457b-88d6-5c045631a074",
|
||||
"persistent": true,
|
||||
"insertionIndex": 7
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:48Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"visibility": "public",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:48Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBHZNPEPUVXLKXPJI22LAM47AY",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:48Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"is_template": false,
|
||||
"visibility": "public",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH7KJOKNNNDRAAWA4WDAM47A2",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:48Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH7KJOKNNNDRAAWA4WDAM47A2",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:48Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"is_template": false,
|
||||
"visibility": "bogus",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH7KJOKNNNDRAAWA4WDAM47A2",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:44Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:44Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"is_template": false,
|
||||
"visibility": "public",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:46Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"visibility": "internal",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:47Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH4QEI32645X7IHUCUTAM47AW",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:47Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"is_template": false,
|
||||
"visibility": "internal",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH4QEI32645X7IHUCUTAM47AW",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:47Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"visibility": "private",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:47Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"id": 354063893,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTQwNjM4OTM=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "hub4j-test-org/test-repo-visibility",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"description": "A test repository for testing the github-api project: test-repo-visibility",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-02T15:48:41Z",
|
||||
"updated_at": "2021-04-02T15:48:48Z",
|
||||
"pushed_at": "2021-04-02T15:48:42Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-repo-visibility",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"is_template": false,
|
||||
"visibility": "private",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"login": "nvahren",
|
||||
"id": 8679583,
|
||||
"node_id": "MDQ6VXNlcjg2Nzk1ODM=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/8679583?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/nvahren",
|
||||
"html_url": "https://github.com/nvahren",
|
||||
"followers_url": "https://api.github.com/users/nvahren/followers",
|
||||
"following_url": "https://api.github.com/users/nvahren/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/nvahren/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/nvahren/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/nvahren/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/nvahren/orgs",
|
||||
"repos_url": "https://api.github.com/users/nvahren/repos",
|
||||
"events_url": "https://api.github.com/users/nvahren/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/nvahren/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": null,
|
||||
"company": null,
|
||||
"blog": "",
|
||||
"location": null,
|
||||
"email": null,
|
||||
"hireable": null,
|
||||
"bio": null,
|
||||
"twitter_username": null,
|
||||
"public_repos": 5,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"created_at": "2014-09-06T16:40:29Z",
|
||||
"updated_at": "2021-04-02T13:18:25Z",
|
||||
"private_gists": 0,
|
||||
"total_private_repos": 0,
|
||||
"owned_private_repos": 0,
|
||||
"disk_usage": 24211,
|
||||
"collaborators": 0,
|
||||
"two_factor_authentication": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"collaborators": 0,
|
||||
"private_repos": 10000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"id": "15e6bdb7-1476-480d-be32-d962cc51acfa",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"visibility\":\"public\",\"name\":\"test-repo-visibility\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-10.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"069779fe525b573d05c18b9bc6a1f11949fcfe91d3ce720fb87a0d6085ac9d73\"",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4976",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "24",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E60A7:10C3090:60673CE0"
|
||||
}
|
||||
},
|
||||
"uuid": "15e6bdb7-1476-480d-be32-d962cc51acfa",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-3-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-3-repos-hub4j-test-org-test-repo-visibility-2",
|
||||
"insertionIndex": 10
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "9eb3c56f-9bce-418c-ad92-5a4abd7a180c",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-11.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"3da4e90118a6a55e5aa2cc44f15f135b80d46c66b2306984ab92060fc129ce3d\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4975",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "25",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E60DD:10C30E7:60673CE0"
|
||||
}
|
||||
},
|
||||
"uuid": "9eb3c56f-9bce-418c-ad92-5a4abd7a180c",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-repo-visibility-4",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-test-repo-visibility-5",
|
||||
"insertionIndex": 11
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "9ae517ae-ab60-421b-90c3-5b2e483f3304",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-12.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:49 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"35ad5da06756071cee706720c2521f5eb8d8ab0289f5b66a00d26fa8e823d350\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "github.baptiste-preview; format=json, github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4974",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "26",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E60FC:10C3117:60673CE0"
|
||||
}
|
||||
},
|
||||
"uuid": "9ae517ae-ab60-421b-90c3-5b2e483f3304",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-2-repos-hub4j-test-org-test-repo-visibility-4",
|
||||
"newScenarioState": "scenario-2-repos-hub4j-test-org-test-repo-visibility-5",
|
||||
"insertionIndex": 12
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "d937980a-308a-4185-9d4d-59b6b70eb6b3",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-13.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:49 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"213ecbaa4d21bf368deeed8d182cb9e211163879817875b47afd014d618c945d\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4973",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "27",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E610D:10C3138:60673CE1"
|
||||
}
|
||||
},
|
||||
"uuid": "d937980a-308a-4185-9d4d-59b6b70eb6b3",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-repo-visibility-5",
|
||||
"insertionIndex": 13
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "ca9edbe2-bb6e-4577-8272-94ec906e5085",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-14.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:49 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"35ad5da06756071cee706720c2521f5eb8d8ab0289f5b66a00d26fa8e823d350\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "github.baptiste-preview; format=json, github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4972",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "28",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E6121:10C315F:60673CE1"
|
||||
}
|
||||
},
|
||||
"uuid": "ca9edbe2-bb6e-4577-8272-94ec906e5085",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-2-repos-hub4j-test-org-test-repo-visibility-5",
|
||||
"insertionIndex": 14
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "d19ad8d7-fce5-434a-979a-b66373d5f9aa",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:46 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"c8bc67329d691b820855f2af35280181b3fe5cb2456697a6dcd9e848643ed234\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:44 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4984",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "16",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E5FB1:10C2EF0:60673CDE"
|
||||
}
|
||||
},
|
||||
"uuid": "d19ad8d7-fce5-434a-979a-b66373d5f9aa",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-test-repo-visibility-2",
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "4084a968-c974-41d7-a8af-b49a9eed6c52",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:46 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"bea67cfe6f84352d9c9edb499e1e73621cfe4d684739726b63679870e6b8db7f\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:44 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "github.baptiste-preview; format=json, github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4983",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "17",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E5FC9:10C2F15:60673CDE"
|
||||
}
|
||||
},
|
||||
"uuid": "4084a968-c974-41d7-a8af-b49a9eed6c52",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-2-repos-hub4j-test-org-test-repo-visibility-2",
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"id": "36b64f54-a9e2-4fa7-80dd-d6464f521355",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"visibility\":\"internal\",\"name\":\"test-repo-visibility\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-4.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:47 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"92caeb73586f7e1812966693dc7ee6d7cea5e99af50e95e7fd5ad855f156961e\"",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4982",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "18",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E5FDD:10C2F44:60673CDE"
|
||||
}
|
||||
},
|
||||
"uuid": "36b64f54-a9e2-4fa7-80dd-d6464f521355",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-3-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-3-repos-hub4j-test-org-test-repo-visibility-2",
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "25dfa2b9-868d-4185-8c4b-3375f643db31",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-5.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:47 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"583c209f52a0365528bee4bdba5354a4dfed9810b15487e271e573b4fd3eb4a0\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:47 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4981",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "19",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E6020:10C2FBC:60673CDF"
|
||||
}
|
||||
},
|
||||
"uuid": "25dfa2b9-868d-4185-8c4b-3375f643db31",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-repo-visibility-2",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-test-repo-visibility-3",
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "3c1a7599-4bfb-44f4-8793-8e7201031953",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-6.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:47 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"a152dfa638afdd63aaf2d517166e1596d52da1e6439061ddc35bce0376e461be\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:47 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "github.baptiste-preview; format=json, github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4980",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "20",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E6032:10C2FD2:60673CDF"
|
||||
}
|
||||
},
|
||||
"uuid": "3c1a7599-4bfb-44f4-8793-8e7201031953",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-2-repos-hub4j-test-org-test-repo-visibility-2",
|
||||
"newScenarioState": "scenario-2-repos-hub4j-test-org-test-repo-visibility-3",
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"id": "ac63d312-632a-4020-a90a-836befd9a9ca",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"visibility\":\"private\",\"name\":\"test-repo-visibility\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-7.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:47 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"576674017ee88df65e929a876f2cfbbe2a9a9e481af004623e737e1f8d4263c1\"",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4979",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "21",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E604A:10C2FED:60673CDF"
|
||||
}
|
||||
},
|
||||
"uuid": "ac63d312-632a-4020-a90a-836befd9a9ca",
|
||||
"persistent": true,
|
||||
"insertionIndex": 7
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "b069a926-9cac-4eef-aff0-bcf401170c2d",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-8.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"38ce6aa6e8fb036ba9962d9892800b380506c94671a232b22399aed1ea28e832\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:47 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4978",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "22",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E6081:10C3047:60673CE0"
|
||||
}
|
||||
},
|
||||
"uuid": "b069a926-9cac-4eef-aff0-bcf401170c2d",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-repo-visibility-3",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-test-repo-visibility-4",
|
||||
"insertionIndex": 8
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "5b704b0e-6fa2-4f95-b242-82ac6ca14b67",
|
||||
"name": "repos_hub4j-test-org_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_test-repo-visibility-9.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"4c697e5a40fbd53ff86631073ce8d5693d79e8061d797c3dd52dbfaa9a8d5391\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:48 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "github.baptiste-preview; format=json, github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4977",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "23",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E6090:10C3066:60673CE0"
|
||||
}
|
||||
},
|
||||
"uuid": "5b704b0e-6fa2-4f95-b242-82ac6ca14b67",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-hub4j-test-org-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-2-repos-hub4j-test-org-test-repo-visibility-3",
|
||||
"newScenarioState": "scenario-2-repos-hub4j-test-org-test-repo-visibility-4",
|
||||
"insertionIndex": 9
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "b8dfa4c0-aed6-4f25-8aa1-9818758a15e3",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 15:48:40 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"38fc19182dce910e10651d207662ee2261c052ff598f10a3c2900360e16f815f\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 13:18:25 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4989",
|
||||
"X-RateLimit-Reset": "1617382057",
|
||||
"X-RateLimit-Used": "11",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "366E:58C4:9E5D18:10C2A44:60673CD8"
|
||||
}
|
||||
},
|
||||
"uuid": "b8dfa4c0-aed6-4f25-8aa1-9818758a15e3",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments",
|
||||
"created_at": "2021-03-17T10:50:49Z",
|
||||
"updated_at": "2021-04-02T15:48:53Z",
|
||||
"pushed_at": "2021-04-02T15:48:51Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"homepage": null,
|
||||
"size": 6,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 7,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 7,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 9
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"total_count": 18,
|
||||
"artifacts": [
|
||||
{
|
||||
"id": 51301321,
|
||||
"node_id": "MDg6QXJ0aWZhY3Q1MTMwMTMyMQ==",
|
||||
"name": "artifact2",
|
||||
"size_in_bytes": 10,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301321",
|
||||
"archive_download_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301321/zip",
|
||||
"expired": false,
|
||||
"created_at": "2021-04-02T16:54:32Z",
|
||||
"updated_at": "2021-04-02T16:54:32Z",
|
||||
"expires_at": "2021-07-01T16:54:29Z"
|
||||
},
|
||||
{
|
||||
"id": 51301319,
|
||||
"node_id": "MDg6QXJ0aWZhY3Q1MTMwMTMxOQ==",
|
||||
"name": "artifact1",
|
||||
"size_in_bytes": 10,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319",
|
||||
"archive_download_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319/zip",
|
||||
"expired": false,
|
||||
"created_at": "2021-04-02T16:54:32Z",
|
||||
"updated_at": "2021-04-02T16:54:32Z",
|
||||
"expires_at": "2021-07-01T16:54:27Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": 51301319,
|
||||
"node_id": "MDg6QXJ0aWZhY3Q1MTMwMTMxOQ==",
|
||||
"name": "artifact1",
|
||||
"size_in_bytes": 10,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319",
|
||||
"archive_download_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319/zip",
|
||||
"expired": false,
|
||||
"created_at": "2021-04-02T16:54:32Z",
|
||||
"updated_at": "2021-04-02T16:54:32Z",
|
||||
"expires_at": "2021-07-01T16:54:27Z"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": 51301321,
|
||||
"node_id": "MDg6QXJ0aWZhY3Q1MTMwMTMyMQ==",
|
||||
"name": "artifact2",
|
||||
"size_in_bytes": 10,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301321",
|
||||
"archive_download_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301321/zip",
|
||||
"expired": false,
|
||||
"created_at": "2021-04-02T16:54:32Z",
|
||||
"updated_at": "2021-04-02T16:54:32Z",
|
||||
"expires_at": "2021-07-01T16:54:29Z"
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"total_count": 95,
|
||||
"workflow_runs": [
|
||||
{
|
||||
"id": 712241595,
|
||||
"name": "Artifacts workflow",
|
||||
"node_id": "MDExOldvcmtmbG93UnVuNzEyMjQxNTk1",
|
||||
"head_branch": "main",
|
||||
"head_sha": "40fdaab83052625585482a86769a73e317f6e7c3",
|
||||
"run_number": 9,
|
||||
"event": "workflow_dispatch",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"workflow_id": 7433027,
|
||||
"check_suite_id": 2408673964,
|
||||
"check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyNDA4NjczOTY0",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595",
|
||||
"pull_requests": [],
|
||||
"created_at": "2021-04-02T16:53:18Z",
|
||||
"updated_at": "2021-04-02T16:53:33Z",
|
||||
"jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/jobs",
|
||||
"logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/logs",
|
||||
"check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/2408673964",
|
||||
"artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/artifacts",
|
||||
"cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/cancel",
|
||||
"rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/rerun",
|
||||
"workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7433027",
|
||||
"head_commit": {
|
||||
"id": "40fdaab83052625585482a86769a73e317f6e7c3",
|
||||
"tree_id": "1c9feb95826bf56ea972f7cb5a045c8b0a2e19c7",
|
||||
"message": "Create artifacts-workflow.yml",
|
||||
"timestamp": "2021-04-02T15:48:51Z",
|
||||
"author": {
|
||||
"name": "Guillaume Smet",
|
||||
"email": "guillaume.smet@gmail.com"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments"
|
||||
},
|
||||
"head_repository": {
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"total_count": 2,
|
||||
"artifacts": [
|
||||
{
|
||||
"id": 51301319,
|
||||
"node_id": "MDg6QXJ0aWZhY3Q1MTMwMTMxOQ==",
|
||||
"name": "artifact1",
|
||||
"size_in_bytes": 10,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319",
|
||||
"archive_download_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319/zip",
|
||||
"expired": false,
|
||||
"created_at": "2021-04-02T16:54:32Z",
|
||||
"updated_at": "2021-04-02T16:54:32Z",
|
||||
"expires_at": "2021-07-01T16:54:27Z"
|
||||
},
|
||||
{
|
||||
"id": 51301321,
|
||||
"node_id": "MDg6QXJ0aWZhY3Q1MTMwMTMyMQ==",
|
||||
"name": "artifact2",
|
||||
"size_in_bytes": 10,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301321",
|
||||
"archive_download_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301321/zip",
|
||||
"expired": false,
|
||||
"created_at": "2021-04-02T16:54:32Z",
|
||||
"updated_at": "2021-04-02T16:54:32Z",
|
||||
"expires_at": "2021-07-01T16:54:29Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": 7433027,
|
||||
"node_id": "MDg6V29ya2Zsb3c3NDMzMDI3",
|
||||
"name": "Artifacts workflow",
|
||||
"path": ".github/workflows/artifacts-workflow.yml",
|
||||
"state": "active",
|
||||
"created_at": "2021-04-02T17:48:51.000+02:00",
|
||||
"updated_at": "2021-04-02T17:48:51.000+02:00",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7433027",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/blob/main/.github/workflows/artifacts-workflow.yml",
|
||||
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/workflows/Artifacts%20workflow/badge.svg"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"login": "gsmet",
|
||||
"id": 1279749,
|
||||
"node_id": "MDQ6VXNlcjEyNzk3NDk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/gsmet",
|
||||
"html_url": "https://github.com/gsmet",
|
||||
"followers_url": "https://api.github.com/users/gsmet/followers",
|
||||
"following_url": "https://api.github.com/users/gsmet/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/gsmet/orgs",
|
||||
"repos_url": "https://api.github.com/users/gsmet/repos",
|
||||
"events_url": "https://api.github.com/users/gsmet/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/gsmet/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": "Guillaume Smet",
|
||||
"company": "Red Hat",
|
||||
"blog": "https://www.redhat.com/",
|
||||
"location": "Lyon, France",
|
||||
"email": "guillaume.smet@gmail.com",
|
||||
"hireable": null,
|
||||
"bio": "Happy camper at Red Hat, working on Quarkus and the Hibernate portfolio.",
|
||||
"twitter_username": "gsmet_",
|
||||
"public_repos": 103,
|
||||
"public_gists": 14,
|
||||
"followers": 126,
|
||||
"following": 3,
|
||||
"created_at": "2011-12-22T11:03:22Z",
|
||||
"updated_at": "2021-04-01T17:18:59Z",
|
||||
"private_gists": 14,
|
||||
"total_private_repos": 4,
|
||||
"owned_private_repos": 1,
|
||||
"disk_usage": 68258,
|
||||
"collaborators": 1,
|
||||
"two_factor_authentication": true,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"collaborators": 0,
|
||||
"private_repos": 10000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "8cbe643c-5fe7-450a-9d2d-6cc973c9616d",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:15 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"2375b97c738c66483605718403ac62b2baf890da91c30e92679e4f3b8fbfa6e3\"",
|
||||
"Last-Modified": "Fri, 02 Apr 2021 15:48:53 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4872",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "128",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBBB42:FFFFB1:60674C37"
|
||||
}
|
||||
},
|
||||
"uuid": "8cbe643c-5fe7-450a-9d2d-6cc973c9616d",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "509ef863-9a06-4fd6-ab2b-6566ae273e2f",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts?per_page=2",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts-11.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:40 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"149b71b087f51d94c7e136b28a33c3d5848975866e010f4ad7dc7c02e112f474\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4858",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "142",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBE60E:1002B39:60674C50",
|
||||
"Link": "<https://api.github.com/repositories/348674220/actions/artifacts?per_page=2&page=2>; rel=\"next\", <https://api.github.com/repositories/348674220/actions/artifacts?per_page=2&page=9>; rel=\"last\""
|
||||
}
|
||||
},
|
||||
"uuid": "509ef863-9a06-4fd6-ab2b-6566ae273e2f",
|
||||
"persistent": true,
|
||||
"insertionIndex": 11
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"id": "cba3fb22-4e4a-4eb5-9340-f76bb4acbb53",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts_51301319",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319",
|
||||
"method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:40 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4857",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "143",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBE67D:1002BC4:60674C50"
|
||||
}
|
||||
},
|
||||
"uuid": "cba3fb22-4e4a-4eb5-9340-f76bb4acbb53",
|
||||
"persistent": true,
|
||||
"insertionIndex": 12
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"id": "2864d3f4-92fe-480e-8359-5d5739309efe",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts_51301319",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 404,
|
||||
"body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/actions#get-an-artifact\"}",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:41 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4856",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "144",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBE74B:1002C86:60674C50"
|
||||
}
|
||||
},
|
||||
"uuid": "2864d3f4-92fe-480e-8359-5d5739309efe",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowRunTest-actions-artifacts-51301319",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowRunTest-actions-artifacts-51301319-2",
|
||||
"insertionIndex": 13
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "f1ecc18f-221e-4fd9-92bc-88d3c871c661",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts_51301319",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts_51301319-9.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:39 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"c6e1cb5163135c56b1e05851b5182cdd6fb23ee97773a90eed2b8f4d59bef82f\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4860",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "140",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBE520:1002A4E:60674C4F"
|
||||
}
|
||||
},
|
||||
"uuid": "f1ecc18f-221e-4fd9-92bc-88d3c871c661",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowRunTest-actions-artifacts-51301319",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowRunTest-actions-artifacts-51301319-2",
|
||||
"insertionIndex": 9
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "b87f3821-c650-400e-9dd4-b2e5f4715de7",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts_51301319_zip",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301319/zip",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:39 GMT",
|
||||
"Content-Type": "text/html;charset=utf-8",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4861",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "139",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBE3EA:1002910:60674C4F",
|
||||
"Location": "https://pipelines.actions.githubusercontent.com/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/120/signedartifactscontent?artifactName=artifact1&urlExpires=2021-04-02T16%3A55%3A39.1977156Z&urlSigningMethod=HMACV1&urlSignature=VvF5G83lRj8fd2Win63OksXWXlzV9hwcRINMytp2LMI%3D"
|
||||
}
|
||||
},
|
||||
"uuid": "b87f3821-c650-400e-9dd4-b2e5f4715de7",
|
||||
"persistent": true,
|
||||
"insertionIndex": 8
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "e4ad7893-156b-4c31-a791-121059fb0fe1",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts_51301321",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/artifacts/51301321",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_artifacts_51301321-10.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:40 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"b0c351ddf05fad0242189ad8e746079330817e9b3b867e4367919ec808b7a704\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4859",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "141",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBE591:1002AC1:60674C50"
|
||||
}
|
||||
},
|
||||
"uuid": "e4ad7893-156b-4c31-a791-121059fb0fe1",
|
||||
"persistent": true,
|
||||
"insertionIndex": 10
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "678805ca-467e-4918-9d9e-ff44c91bbe79",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs?per_page=1",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs-4.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:16 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"f9909e44988c7b6a1ecc40fbc98266069a3b50b027ed9b71001e598e83bdee55\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4870",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "130",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBBC31:10000B6:60674C37",
|
||||
"Link": "<https://api.github.com/repositories/348674220/actions/runs?per_page=1&page=2>; rel=\"next\", <https://api.github.com/repositories/348674220/actions/runs?per_page=1&page=95>; rel=\"last\""
|
||||
}
|
||||
},
|
||||
"uuid": "678805ca-467e-4918-9d9e-ff44c91bbe79",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "781f4b9d-2477-4ec0-9e8d-32bf5a6fa088",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs-6.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:38 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"158233711de1a189843695211dd42ec9898b518437eb5e78447c62c2e993f33e\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4863",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "137",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBE289:10027A5:60674C4E",
|
||||
"Link": "<https://api.github.com/repositories/348674220/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20&page=2>; rel=\"next\", <https://api.github.com/repositories/348674220/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20&page=4>; rel=\"last\""
|
||||
}
|
||||
},
|
||||
"uuid": "781f4b9d-2477-4ec0-9e8d-32bf5a6fa088",
|
||||
"persistent": true,
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "73071880-8d5e-4727-9ded-7aeac9c47e67",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_712243851_artifacts",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712243851/artifacts",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_712243851_artifacts-7.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:38 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"19b71e88d7a6215f7134a8e96ecb8d7368cb8ac845c5703bdf14f161388bdfdc\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4862",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "138",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBE34F:100287B:60674C4E"
|
||||
}
|
||||
},
|
||||
"uuid": "73071880-8d5e-4727-9ded-7aeac9c47e67",
|
||||
"persistent": true,
|
||||
"insertionIndex": 7
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "9bc7501a-904f-4133-b403-abb371f51e61",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_7433027_dispatches",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7433027/dispatches",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"ref\":\"main\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:16 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4869",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "131",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBBCC4:100014D:60674C38"
|
||||
}
|
||||
},
|
||||
"uuid": "9bc7501a-904f-4133-b403-abb371f51e61",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "a9374bfd-5990-4eed-bc74-625105fa945b",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_artifacts-workflowyml",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/artifacts-workflow.yml",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_artifacts-workflowyml-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:15 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"74e899804cd20f105ebf1ba9bdcf4490182115349c7f2c08b533ac01f8b12d64\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4871",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "129",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBBBB2:1000028:60674C37"
|
||||
}
|
||||
},
|
||||
"uuid": "a9374bfd-5990-4eed-bc74-625105fa945b",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "bc054b84-aa33-4560-bb2c-87f45d44fa7c",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:14 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"3ae5b3507a411c059ce94da9899ddc8560519d870de99209d959ff79f01fa16a\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 17:18:59 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4874",
|
||||
"X-RateLimit-Reset": "1617384010",
|
||||
"X-RateLimit-Used": "126",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8870:697D:FBBA34:FFFE78:60674C36"
|
||||
}
|
||||
},
|
||||
"uuid": "bc054b84-aa33-4560-bb2c-87f45d44fa7c",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "1dc7d887-335f-4cdb-bb0f-147ed9e5dbbb",
|
||||
"name": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_120_signedartifactscontent",
|
||||
"request": {
|
||||
"url": "/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/120/signedartifactscontent?artifactName=artifact1&urlExpires=2021-04-02T16%3A55%3A39.1977156Z&urlSigningMethod=HMACV1&urlSignature=VvF5G83lRj8fd2Win63OksXWXlzV9hwcRINMytp2LMI%3D",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_120_signedartifactscontent-1.txt",
|
||||
"headers": {
|
||||
"Cache-Control": "no-store,no-cache",
|
||||
"Pragma": "no-cache",
|
||||
"Content-Type": "application/zip",
|
||||
"Strict-Transport-Security": "max-age=2592000",
|
||||
"X-TFS-ProcessId": "2ca47dbe-cb79-45d6-a378-ee17f63fb32b",
|
||||
"ActivityId": "4b17ca78-9393-4768-b4f1-5998e4f4b183",
|
||||
"X-TFS-Session": "4b17ca78-9393-4768-b4f1-5998e4f4b183",
|
||||
"X-VSS-E2EID": "4b17ca78-9393-4768-b4f1-5998e4f4b183",
|
||||
"X-VSS-SenderDeploymentId": "2c974d96-2c30-cef5-eff2-3e0511a903a5",
|
||||
"Content-Disposition": "attachment; filename=artifact1.zip; filename*=UTF-8''artifact1.zip",
|
||||
"X-MSEdge-Ref": "Ref A: 2F55E10F81BC47DF8F479AEA94E19526 Ref B: MRS20EDGE0113 Ref C: 2021-04-02T16:54:39Z",
|
||||
"Date": "Fri, 02 Apr 2021 16:54:39 GMT"
|
||||
}
|
||||
},
|
||||
"uuid": "1dc7d887-335f-4cdb-bb0f-147ed9e5dbbb",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments",
|
||||
"created_at": "2021-03-17T10:50:49Z",
|
||||
"updated_at": "2021-04-05T12:08:00Z",
|
||||
"pushed_at": "2021-04-05T12:07:58Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"homepage": null,
|
||||
"size": 7,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 7,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 7,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 9
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"id": 2270858630,
|
||||
"run_id": 719643947,
|
||||
"run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719643947",
|
||||
"node_id": "MDg6Q2hlY2tSdW4yMjcwODU4NjMw",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2270858630",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/runs/2270858630",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "2021-04-05T15:42:57Z",
|
||||
"completed_at": "2021-04-05T15:42:59Z",
|
||||
"name": "job1",
|
||||
"steps": [
|
||||
{
|
||||
"name": "Set up job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 1,
|
||||
"started_at": "2021-04-05T17:42:57.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:58.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Run a one-line script",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 2,
|
||||
"started_at": "2021-04-05T17:42:58.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:59.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Complete job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 3,
|
||||
"started_at": "2021-04-05T17:42:59.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:59.000+02:00"
|
||||
}
|
||||
],
|
||||
"check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630"
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"total_count": 114,
|
||||
"workflow_runs": [
|
||||
{
|
||||
"id": 719641767,
|
||||
"name": "Multi jobs workflow",
|
||||
"node_id": "MDExOldvcmtmbG93UnVuNzE5NjQxNzY3",
|
||||
"head_branch": "main",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"run_number": 14,
|
||||
"event": "workflow_dispatch",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"workflow_id": 7518893,
|
||||
"check_suite_id": 2422908957,
|
||||
"check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyNDIyOTA4OTU3",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719641767",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/719641767",
|
||||
"pull_requests": [],
|
||||
"created_at": "2021-04-05T15:41:54Z",
|
||||
"updated_at": "2021-04-05T15:42:11Z",
|
||||
"jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719641767/jobs",
|
||||
"logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719641767/logs",
|
||||
"check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/2422908957",
|
||||
"artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719641767/artifacts",
|
||||
"cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719641767/cancel",
|
||||
"rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719641767/rerun",
|
||||
"workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7518893",
|
||||
"head_commit": {
|
||||
"id": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"tree_id": "461cd7cdbb233b2959f53957816f80e230bb29f0",
|
||||
"message": "Create multi-jobs-workflow.yml",
|
||||
"timestamp": "2021-04-05T12:07:58Z",
|
||||
"author": {
|
||||
"name": "Guillaume Smet",
|
||||
"email": "guillaume.smet@gmail.com"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments"
|
||||
},
|
||||
"head_repository": {
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"total_count": 2,
|
||||
"jobs": [
|
||||
{
|
||||
"id": 2270858576,
|
||||
"run_id": 719643947,
|
||||
"run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719643947",
|
||||
"node_id": "MDg6Q2hlY2tSdW4yMjcwODU4NTc2",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2270858576",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/runs/2270858576",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "2021-04-05T15:42:56Z",
|
||||
"completed_at": "2021-04-05T15:42:57Z",
|
||||
"name": "job2",
|
||||
"steps": [
|
||||
{
|
||||
"name": "Set up job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 1,
|
||||
"started_at": "2021-04-05T17:42:56.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:56.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Run a one-line script",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 2,
|
||||
"started_at": "2021-04-05T17:42:56.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:57.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Complete job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 3,
|
||||
"started_at": "2021-04-05T17:42:57.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:57.000+02:00"
|
||||
}
|
||||
],
|
||||
"check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858576"
|
||||
},
|
||||
{
|
||||
"id": 2270858630,
|
||||
"run_id": 719643947,
|
||||
"run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719643947",
|
||||
"node_id": "MDg6Q2hlY2tSdW4yMjcwODU4NjMw",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2270858630",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/runs/2270858630",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "2021-04-05T15:42:57Z",
|
||||
"completed_at": "2021-04-05T15:42:59Z",
|
||||
"name": "job1",
|
||||
"steps": [
|
||||
{
|
||||
"name": "Set up job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 1,
|
||||
"started_at": "2021-04-05T17:42:57.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:58.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Run a one-line script",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 2,
|
||||
"started_at": "2021-04-05T17:42:58.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:59.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Complete job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 3,
|
||||
"started_at": "2021-04-05T17:42:59.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:59.000+02:00"
|
||||
}
|
||||
],
|
||||
"check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"total_count": 2,
|
||||
"jobs": [
|
||||
{
|
||||
"id": 2270858576,
|
||||
"run_id": 719643947,
|
||||
"run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719643947",
|
||||
"node_id": "MDg6Q2hlY2tSdW4yMjcwODU4NTc2",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2270858576",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/runs/2270858576",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "2021-04-05T15:42:56Z",
|
||||
"completed_at": "2021-04-05T15:42:57Z",
|
||||
"name": "job2",
|
||||
"steps": [
|
||||
{
|
||||
"name": "Set up job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 1,
|
||||
"started_at": "2021-04-05T17:42:56.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:56.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Run a one-line script",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 2,
|
||||
"started_at": "2021-04-05T17:42:56.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:57.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Complete job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 3,
|
||||
"started_at": "2021-04-05T17:42:57.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:57.000+02:00"
|
||||
}
|
||||
],
|
||||
"check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858576"
|
||||
},
|
||||
{
|
||||
"id": 2270858630,
|
||||
"run_id": 719643947,
|
||||
"run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719643947",
|
||||
"node_id": "MDg6Q2hlY2tSdW4yMjcwODU4NjMw",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2270858630",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/runs/2270858630",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "2021-04-05T15:42:57Z",
|
||||
"completed_at": "2021-04-05T15:42:59Z",
|
||||
"name": "job1",
|
||||
"steps": [
|
||||
{
|
||||
"name": "Set up job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 1,
|
||||
"started_at": "2021-04-05T17:42:57.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:58.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Run a one-line script",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 2,
|
||||
"started_at": "2021-04-05T17:42:58.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:59.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Complete job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 3,
|
||||
"started_at": "2021-04-05T17:42:59.000+02:00",
|
||||
"completed_at": "2021-04-05T17:42:59.000+02:00"
|
||||
}
|
||||
],
|
||||
"check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": 7518893,
|
||||
"node_id": "MDg6V29ya2Zsb3c3NTE4ODkz",
|
||||
"name": "Multi jobs workflow",
|
||||
"path": ".github/workflows/multi-jobs-workflow.yml",
|
||||
"state": "active",
|
||||
"created_at": "2021-04-05T14:07:59.000+02:00",
|
||||
"updated_at": "2021-04-05T14:07:59.000+02:00",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7518893",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/blob/main/.github/workflows/multi-jobs-workflow.yml",
|
||||
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/workflows/Multi%20jobs%20workflow/badge.svg"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"login": "gsmet",
|
||||
"id": 1279749,
|
||||
"node_id": "MDQ6VXNlcjEyNzk3NDk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/gsmet",
|
||||
"html_url": "https://github.com/gsmet",
|
||||
"followers_url": "https://api.github.com/users/gsmet/followers",
|
||||
"following_url": "https://api.github.com/users/gsmet/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/gsmet/orgs",
|
||||
"repos_url": "https://api.github.com/users/gsmet/repos",
|
||||
"events_url": "https://api.github.com/users/gsmet/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/gsmet/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": "Guillaume Smet",
|
||||
"company": "Red Hat",
|
||||
"blog": "https://www.redhat.com/",
|
||||
"location": "Lyon, France",
|
||||
"email": "guillaume.smet@gmail.com",
|
||||
"hireable": null,
|
||||
"bio": "Happy camper at Red Hat, working on Quarkus and the Hibernate portfolio.",
|
||||
"twitter_username": "gsmet_",
|
||||
"public_repos": 103,
|
||||
"public_gists": 14,
|
||||
"followers": 126,
|
||||
"following": 3,
|
||||
"created_at": "2011-12-22T11:03:22Z",
|
||||
"updated_at": "2021-04-04T11:26:23Z",
|
||||
"private_gists": 14,
|
||||
"total_private_repos": 4,
|
||||
"owned_private_repos": 1,
|
||||
"disk_usage": 68272,
|
||||
"collaborators": 1,
|
||||
"two_factor_authentication": true,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"collaborators": 0,
|
||||
"private_repos": 10000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "e6378c99-ad05-4241-864f-3c074b6e7647",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:42:46 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1d05c152704970608725c6159cd470b992469e68dda6746d536bd9385e2b1568\"",
|
||||
"Last-Modified": "Mon, 05 Apr 2021 12:08:00 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4963",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "37",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780A3FB:79F1719:606B2FF6"
|
||||
}
|
||||
},
|
||||
"uuid": "e6378c99-ad05-4241-864f-3c074b6e7647",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "5fae275f-ed17-4d88-8a62-1db21c5d0943",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs_2270858576_logs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2270858576/logs",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:43:10 GMT",
|
||||
"Content-Type": "text/html;charset=utf-8",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4951",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "49",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780D7F0:79F4BC6:606B300E",
|
||||
"Location": "https://pipelines.actions.githubusercontent.com/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/139/signedlogcontent/4?urlExpires=2021-04-05T15%3A44%3A10.8371854Z&urlSigningMethod=HMACV1&urlSignature=uQbYtzzKCaCe0FzhPYJV0y1bcSdRhvUa6rcfDXGGXnE%3D"
|
||||
}
|
||||
},
|
||||
"uuid": "5fae275f-ed17-4d88-8a62-1db21c5d0943",
|
||||
"persistent": true,
|
||||
"insertionIndex": 9
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "58d97e8d-6bd7-4779-8d45-d68812efd6d1",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs_2270858630_logs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2270858630/logs",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:43:09 GMT",
|
||||
"Content-Type": "text/html;charset=utf-8",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4952",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "48",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780D5BB:79F498E:606B300D",
|
||||
"Location": "https://pipelines.actions.githubusercontent.com/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/139/signedlogcontent/5?urlExpires=2021-04-05T15%3A44%3A09.8999243Z&urlSigningMethod=HMACV1&urlSignature=CLJeOMWVKrxsNSCeMNmmq%2F7q6aythG5XOtkWAy1Z59s%3D"
|
||||
}
|
||||
},
|
||||
"uuid": "58d97e8d-6bd7-4779-8d45-d68812efd6d1",
|
||||
"persistent": true,
|
||||
"insertionIndex": 8
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "3e411914-13ab-4047-9b13-8394a37a3f62",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2270858630",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs//2270858630",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2270858630-10.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:43:11 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"22360ebab22ff456a8e93771b697d8d68f9d54027c077d2c286634c438adf6a9\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4950",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "50",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780D936:79F4D0A:606B300F"
|
||||
}
|
||||
},
|
||||
"uuid": "3e411914-13ab-4047-9b13-8394a37a3f62",
|
||||
"persistent": true,
|
||||
"insertionIndex": 10
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "4890281f-76d3-44d5-9815-127dd2b14748",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs?per_page=1",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs-4.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:42:47 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"ff99d3f1525ab2eab0d06e8d5e9ec8423d29a29e5de1c7269f3c9f8ca0e0fd65\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4961",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "39",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780A4C3:79F17D9:606B2FF6",
|
||||
"Link": "<https://api.github.com/repositories/348674220/actions/runs?per_page=1&page=2>; rel=\"next\", <https://api.github.com/repositories/348674220/actions/runs?per_page=1&page=114>; rel=\"last\""
|
||||
}
|
||||
},
|
||||
"uuid": "4890281f-76d3-44d5-9815-127dd2b14748",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "388ca7dd-f294-434c-a860-2e043776a62d",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs-6.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:43:09 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"cc9592c68c74a53ac712a4a09811454b5bf14e41d104c17767ae8badee699403\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4954",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "46",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780D418:79F47E2:606B300D",
|
||||
"Link": "<https://api.github.com/repositories/348674220/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20&page=2>; rel=\"next\", <https://api.github.com/repositories/348674220/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20&page=5>; rel=\"last\""
|
||||
}
|
||||
},
|
||||
"uuid": "388ca7dd-f294-434c-a860-2e043776a62d",
|
||||
"persistent": true,
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "8575d71f-9ab0-4307-84db-4f331c4eeed1",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719643947/jobs?filter=all&per_page=10",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-11.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:43:11 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"3ffb0b2763802a3d0d2e431e233998314d7dae8e0bb4d1c28fd0180a4863ae87\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4949",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "51",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780D987:79F4D56:606B300F"
|
||||
}
|
||||
},
|
||||
"uuid": "8575d71f-9ab0-4307-84db-4f331c4eeed1",
|
||||
"persistent": true,
|
||||
"insertionIndex": 11
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "2ecde27b-9999-4225-ae57-dfb4dc14dc45",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719643947/jobs?filter=latest",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-7.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:43:09 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"3ffb0b2763802a3d0d2e431e233998314d7dae8e0bb4d1c28fd0180a4863ae87\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4953",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "47",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780D555:79F4921:606B300D"
|
||||
}
|
||||
},
|
||||
"uuid": "2ecde27b-9999-4225-ae57-dfb4dc14dc45",
|
||||
"persistent": true,
|
||||
"insertionIndex": 7
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "99ac1046-2ff7-4984-844f-ea2498783487",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_7518893_dispatches",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7518893/dispatches",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"ref\":\"main\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:42:47 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4960",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "40",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780A52F:79F1844:606B2FF7"
|
||||
}
|
||||
},
|
||||
"uuid": "99ac1046-2ff7-4984-844f-ea2498783487",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "e96398b1-9a9c-45fb-ab74-c357009b8f3c",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_multi-jobs-workflowyml",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/multi-jobs-workflow.yml",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_multi-jobs-workflowyml-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:42:46 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"b27ec619ffd2ae4bad4805ebe4afa4a677f76eb0f3d2331f40d39fe250299be8\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4962",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "38",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780A46C:79F1783:606B2FF6"
|
||||
}
|
||||
},
|
||||
"uuid": "e96398b1-9a9c-45fb-ab74-c357009b8f3c",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "559b971c-451c-4c7d-bd31-5bc58ac46d5a",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 15:42:46 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"29ab08a069bf880eeed881d36862682dadcb77e7d429f2026195549e0788a20b\"",
|
||||
"Last-Modified": "Sun, 04 Apr 2021 11:26:23 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4965",
|
||||
"X-RateLimit-Reset": "1617640843",
|
||||
"X-RateLimit-Used": "35",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9F98:10C34:780A2B8:79F15C3:606B2FF5"
|
||||
}
|
||||
},
|
||||
"uuid": "559b971c-451c-4c7d-bd31-5bc58ac46d5a",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
2021-04-05T15:42:49.0020645Z ##[section]Starting: Request a runner to run this job
|
||||
2021-04-05T15:42:49.1987299Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T15:42:49.1987397Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T15:42:49.1987581Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T15:42:49.3426885Z ##[section]Finishing: Request a runner to run this job
|
||||
2021-04-05T15:42:56.0567059Z Current runner version: '2.277.1'
|
||||
2021-04-05T15:42:56.0600935Z ##[group]Operating System
|
||||
2021-04-05T15:42:56.0601950Z Ubuntu
|
||||
2021-04-05T15:42:56.0602426Z 20.04.2
|
||||
2021-04-05T15:42:56.0602805Z LTS
|
||||
2021-04-05T15:42:56.0603218Z ##[endgroup]
|
||||
2021-04-05T15:42:56.0603764Z ##[group]Virtual Environment
|
||||
2021-04-05T15:42:56.0604319Z Environment: ubuntu-20.04
|
||||
2021-04-05T15:42:56.0604821Z Version: 20210330.1
|
||||
2021-04-05T15:42:56.0605789Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210330.1/images/linux/Ubuntu2004-README.md
|
||||
2021-04-05T15:42:56.0607029Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210330.1
|
||||
2021-04-05T15:42:56.0607893Z ##[endgroup]
|
||||
2021-04-05T15:42:56.0609926Z ##[group]GITHUB_TOKEN Permissions
|
||||
2021-04-05T15:42:56.0611248Z Actions: write
|
||||
2021-04-05T15:42:56.0611695Z Checks: write
|
||||
2021-04-05T15:42:56.0612141Z Contents: write
|
||||
2021-04-05T15:42:56.0612676Z Deployments: write
|
||||
2021-04-05T15:42:56.0613281Z Issues: write
|
||||
2021-04-05T15:42:56.0613770Z Metadata: read
|
||||
2021-04-05T15:42:56.0614371Z OrganizationPackages: write
|
||||
2021-04-05T15:42:56.0614921Z Packages: write
|
||||
2021-04-05T15:42:56.0615409Z PullRequests: write
|
||||
2021-04-05T15:42:56.0616025Z RepositoryProjects: write
|
||||
2021-04-05T15:42:56.0616595Z SecurityEvents: write
|
||||
2021-04-05T15:42:56.0617170Z Statuses: write
|
||||
2021-04-05T15:42:56.0618112Z ##[endgroup]
|
||||
2021-04-05T15:42:56.0621459Z Prepare workflow directory
|
||||
2021-04-05T15:42:56.1404407Z Prepare all required actions
|
||||
2021-04-05T15:42:56.2234997Z ##[group]Run echo Hello from job2!
|
||||
2021-04-05T15:42:56.2235638Z [36;1mecho Hello from job2![0m
|
||||
2021-04-05T15:42:56.2823776Z shell: /usr/bin/bash -e {0}
|
||||
2021-04-05T15:42:56.2824500Z ##[endgroup]
|
||||
2021-04-05T15:42:57.2686945Z Hello from job2!
|
||||
2021-04-05T15:42:57.2720038Z Cleaning up orphan processes
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user