Add some assertions for GHWorkflow dispatch tests

This commit is contained in:
Guillaume Smet
2021-03-25 11:37:13 +01:00
parent 47e2a5aea1
commit d734237788
26 changed files with 158 additions and 147 deletions

View File

@@ -7,6 +7,11 @@ import org.junit.Test;
import java.io.IOException;
import java.util.Collections;
import static com.github.tomakehurst.wiremock.client.WireMock.containing;
import static com.github.tomakehurst.wiremock.client.WireMock.postRequestedFor;
import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
import static com.github.tomakehurst.wiremock.client.WireMock.verify;
public class GHWorkflowTest extends AbstractGitHubWireMockTest {
private static String REPO_NAME = "hub4j-test-org/GHWorkflowTest";
@@ -71,8 +76,14 @@ public class GHWorkflowTest extends AbstractGitHubWireMockTest {
GHWorkflow workflow = repo.getWorkflow("test-workflow.yml");
workflow.dispatch("main");
workflow.dispatch("main", Collections.singletonMap("parameter", "value"));
verify(postRequestedFor(
urlPathEqualTo("/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/dispatches")));
// if we implement the logs API at some point, it might be a good idea to validate all this
workflow.dispatch("main", Collections.singletonMap("parameter", "value"));
verify(postRequestedFor(
urlPathEqualTo("/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/dispatches"))
.withRequestBody(containing("inputs"))
.withRequestBody(containing("parameter"))
.withRequestBody(containing("value")));
}
}

View File

@@ -5,7 +5,7 @@
"path": ".github/workflows/test-workflow.yml",
"state": "active",
"created_at": "2021-03-17T10:33:32.000+01:00",
"updated_at": "2021-03-22T14:55:53.000+01:00",
"updated_at": "2021-03-25T11:36:24.000+01:00",
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859",
"html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml",
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg"

View File

@@ -5,7 +5,7 @@
"path": ".github/workflows/test-workflow.yml",
"state": "active",
"created_at": "2021-03-17T10:33:32.000+01:00",
"updated_at": "2021-03-22T14:55:53.000+01:00",
"updated_at": "2021-03-25T11:36:24.000+01:00",
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859",
"html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml",
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg"

View File

@@ -25,16 +25,16 @@
"hireable": null,
"bio": "Happy camper at Red Hat, working on Quarkus and the Hibernate portfolio.",
"twitter_username": "gsmet_",
"public_repos": 100,
"public_repos": 102,
"public_gists": 14,
"followers": 127,
"following": 3,
"created_at": "2011-12-22T11:03:22Z",
"updated_at": "2021-03-22T09:43:08Z",
"updated_at": "2021-03-23T17:35:45Z",
"private_gists": 14,
"total_private_repos": 5,
"owned_private_repos": 2,
"disk_usage": 68251,
"total_private_repos": 4,
"owned_private_repos": 1,
"disk_usage": 68258,
"collaborators": 1,
"two_factor_authentication": true,
"plan": {

View File

@@ -1,5 +1,5 @@
{
"id": "c259c78e-7f1a-4379-bb5f-15851dc02172",
"id": "1fbf864b-587b-4d30-8a65-43dfecc97028",
"name": "repos_hub4j-test-org_ghworkflowtest",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest",
@@ -15,7 +15,7 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest-2.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:57 GMT",
"Date": "Thu, 25 Mar 2021 10:36:28 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
@@ -28,19 +28,19 @@
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4728",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "272",
"X-RateLimit-Remaining": "4973",
"X-RateLimit-Reset": "1616672182",
"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": "A79C:4909:5380D30:5593F68:6058A1ED"
"X-GitHub-Request-Id": "D5A4:4AE4:1010430:10B0B4D:605C67AC"
}
},
"uuid": "c259c78e-7f1a-4379-bb5f-15851dc02172",
"uuid": "1fbf864b-587b-4d30-8a65-43dfecc97028",
"persistent": true,
"insertionIndex": 2
}

View File

@@ -1,5 +1,5 @@
{
"id": "e6db7271-6997-4d05-8074-b0801c3070c3",
"id": "a37a5c44-61eb-4460-87e8-3207a15c7d2c",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859",
@@ -15,31 +15,31 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-4.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:57 GMT",
"Date": "Thu, 25 Mar 2021 10:36:29 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/\"602070ef7b718d94b563e2480e6861839e193e0f9a3b1738f458c302da1d3083\"",
"ETag": "W/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"",
"X-OAuth-Scopes": "repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4726",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "274",
"X-RateLimit-Remaining": "4971",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "29",
"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": "A79C:4909:5380D9B:5593FE6:6058A1ED"
"X-GitHub-Request-Id": "D5A4:4AE4:1010476:10B0B89:605C67AC"
}
},
"uuid": "e6db7271-6997-4d05-8074-b0801c3070c3",
"uuid": "a37a5c44-61eb-4460-87e8-3207a15c7d2c",
"persistent": true,
"insertionIndex": 4
}

View File

@@ -1,5 +1,5 @@
{
"id": "ff8aef57-0565-4cf8-808f-553679595d1d",
"id": "1ca8cc16-7af0-40c3-832f-197e68817ac1",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml",
@@ -15,31 +15,31 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:57 GMT",
"Date": "Thu, 25 Mar 2021 10:36:28 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/\"602070ef7b718d94b563e2480e6861839e193e0f9a3b1738f458c302da1d3083\"",
"ETag": "W/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"",
"X-OAuth-Scopes": "repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4727",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "273",
"X-RateLimit-Remaining": "4972",
"X-RateLimit-Reset": "1616672182",
"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": "A79C:4909:5380D66:5593F9E:6058A1ED"
"X-GitHub-Request-Id": "D5A4:4AE4:101045A:10B0B77:605C67AC"
}
},
"uuid": "ff8aef57-0565-4cf8-808f-553679595d1d",
"uuid": "1ca8cc16-7af0-40c3-832f-197e68817ac1",
"persistent": true,
"insertionIndex": 3
}

View File

@@ -1,5 +1,5 @@
{
"id": "ddb1ffe0-19de-445f-9215-5b5a49dad5aa",
"id": "c5a67302-c980-47a8-b400-545cf06e8ae7",
"name": "user",
"request": {
"url": "/user",
@@ -15,32 +15,32 @@
"bodyFileName": "user-1.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:56 GMT",
"Date": "Thu, 25 Mar 2021 10:36:27 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/\"7913a7993219ab61ca99857c87a65dd9e94b29925239b60463982779c4dd90f1\"",
"Last-Modified": "Mon, 22 Mar 2021 09:43:08 GMT",
"ETag": "W/\"879f35eed38dcc75ca2b3a8999425e0d51678f4c73ffade3c5bcc853b59245b6\"",
"Last-Modified": "Tue, 23 Mar 2021 17:35:45 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": "4732",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "268",
"X-RateLimit-Remaining": "4977",
"X-RateLimit-Reset": "1616672182",
"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": "A79C:4909:5380C69:5593E9B:6058A1EC"
"X-GitHub-Request-Id": "D5A4:4AE4:1010390:10B0A9B:605C67AB"
}
},
"uuid": "ddb1ffe0-19de-445f-9215-5b5a49dad5aa",
"uuid": "c5a67302-c980-47a8-b400-545cf06e8ae7",
"persistent": true,
"insertionIndex": 1
}

View File

@@ -5,7 +5,7 @@
"path": ".github/workflows/test-workflow.yml",
"state": "active",
"created_at": "2021-03-17T10:33:32.000+01:00",
"updated_at": "2021-03-17T11:29:47.000+01:00",
"updated_at": "2021-03-22T14:55:53.000+01:00",
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859",
"html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml",
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg"

View File

@@ -5,7 +5,7 @@
"path": ".github/workflows/test-workflow.yml",
"state": "disabled_manually",
"created_at": "2021-03-17T10:33:32.000+01:00",
"updated_at": "2021-03-22T14:55:52.000+01:00",
"updated_at": "2021-03-25T11:36:24.000+01:00",
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859",
"html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml",
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg"

View File

@@ -5,7 +5,7 @@
"path": ".github/workflows/test-workflow.yml",
"state": "active",
"created_at": "2021-03-17T10:33:32.000+01:00",
"updated_at": "2021-03-22T14:55:53.000+01:00",
"updated_at": "2021-03-25T11:36:24.000+01:00",
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859",
"html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml",
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg"

View File

@@ -25,16 +25,16 @@
"hireable": null,
"bio": "Happy camper at Red Hat, working on Quarkus and the Hibernate portfolio.",
"twitter_username": "gsmet_",
"public_repos": 100,
"public_repos": 102,
"public_gists": 14,
"followers": 127,
"following": 3,
"created_at": "2011-12-22T11:03:22Z",
"updated_at": "2021-03-22T09:43:08Z",
"updated_at": "2021-03-23T17:35:45Z",
"private_gists": 14,
"total_private_repos": 5,
"owned_private_repos": 2,
"disk_usage": 68251,
"total_private_repos": 4,
"owned_private_repos": 1,
"disk_usage": 68258,
"collaborators": 1,
"two_factor_authentication": true,
"plan": {

View File

@@ -1,5 +1,5 @@
{
"id": "535ca918-972f-4b0b-8ef2-6e5e03369e9c",
"id": "a950e66d-2a80-4b50-97e2-dce79a44902b",
"name": "repos_hub4j-test-org_ghworkflowtest",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest",
@@ -15,7 +15,7 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest-2.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:52 GMT",
"Date": "Thu, 25 Mar 2021 10:36:23 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
@@ -28,19 +28,19 @@
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4750",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "250",
"X-RateLimit-Remaining": "4995",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "5",
"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": "A792:B5ED:367359E:38BF354:6058A1E8"
"X-GitHub-Request-Id": "D598:12325:427F132:4381C9A:605C67A7"
}
},
"uuid": "535ca918-972f-4b0b-8ef2-6e5e03369e9c",
"uuid": "a950e66d-2a80-4b50-97e2-dce79a44902b",
"persistent": true,
"insertionIndex": 2
}

View File

@@ -1,5 +1,5 @@
{
"id": "1664d266-9f03-4177-9f92-3727b8d371b2",
"id": "e35b84ba-cdfa-4a74-826a-1ee812336f59",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/disable",
@@ -21,14 +21,14 @@
"status": 204,
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:53 GMT",
"Date": "Thu, 25 Mar 2021 10:36:24 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": "4748",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "252",
"X-RateLimit-Remaining": "4993",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "7",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
@@ -36,10 +36,10 @@
"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": "A792:B5ED:36735DE:38BF392:6058A1E8"
"X-GitHub-Request-Id": "D598:12325:427F24B:4381DA8:605C67A7"
}
},
"uuid": "1664d266-9f03-4177-9f92-3727b8d371b2",
"uuid": "e35b84ba-cdfa-4a74-826a-1ee812336f59",
"persistent": true,
"insertionIndex": 4
}

View File

@@ -1,5 +1,5 @@
{
"id": "ab311ec3-7971-4b0c-ab65-7cd0a74690b2",
"id": "a647d017-2f5d-4924-8f27-1b1e4d956186",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/enable",
@@ -21,14 +21,14 @@
"status": 204,
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:53 GMT",
"Date": "Thu, 25 Mar 2021 10:36:24 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": "4746",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "254",
"X-RateLimit-Remaining": "4991",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "9",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
@@ -36,10 +36,10 @@
"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": "A792:B5ED:367362C:38BF3DC:6058A1E9"
"X-GitHub-Request-Id": "D598:12325:427F322:4381E83:605C67A8"
}
},
"uuid": "ab311ec3-7971-4b0c-ab65-7cd0a74690b2",
"uuid": "a647d017-2f5d-4924-8f27-1b1e4d956186",
"persistent": true,
"insertionIndex": 6
}

View File

@@ -1,5 +1,5 @@
{
"id": "0145e126-4289-48ec-a468-690c28a2de25",
"id": "613a4578-7ef6-4d2d-a366-de20547ed908",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml",
@@ -15,31 +15,31 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:52 GMT",
"Date": "Thu, 25 Mar 2021 10:36:23 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/\"4a3bd0281d008451da969f0661f16611fd1ebd783c9ef1f18ff167ae03e4bb35\"",
"ETag": "W/\"602070ef7b718d94b563e2480e6861839e193e0f9a3b1738f458c302da1d3083\"",
"X-OAuth-Scopes": "repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4749",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "251",
"X-RateLimit-Remaining": "4994",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "6",
"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": "A792:B5ED:36735C0:38BF372:6058A1E8"
"X-GitHub-Request-Id": "D598:12325:427F1D5:4381D39:605C67A7"
}
},
"uuid": "0145e126-4289-48ec-a468-690c28a2de25",
"uuid": "613a4578-7ef6-4d2d-a366-de20547ed908",
"persistent": true,
"scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml",
"requiredScenarioState": "Started",

View File

@@ -1,5 +1,5 @@
{
"id": "7f7b7eb4-d452-4248-a2da-89b3e3a38b5a",
"id": "c0cfd9a0-5f2e-458f-b5c5-a54b9a48fb42",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml",
@@ -15,31 +15,31 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-5.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:53 GMT",
"Date": "Thu, 25 Mar 2021 10:36:24 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/\"0bc6c50a4839374736113379ef0e3a315f6b0cca0232861306257bc865ef3ca7\"",
"ETag": "W/\"3d726b68299d37d058c6065a1d2b90d43900b2a5c48e94d86bb0bd6a390515c6\"",
"X-OAuth-Scopes": "repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4747",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "253",
"X-RateLimit-Remaining": "4992",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "8",
"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": "A792:B5ED:3673609:38BF3C1:6058A1E9"
"X-GitHub-Request-Id": "D598:12325:427F2C8:4381E21:605C67A8"
}
},
"uuid": "7f7b7eb4-d452-4248-a2da-89b3e3a38b5a",
"uuid": "c0cfd9a0-5f2e-458f-b5c5-a54b9a48fb42",
"persistent": true,
"scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml",
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-2",

View File

@@ -1,5 +1,5 @@
{
"id": "50de412a-67a3-4ce5-8bc6-2489b80e72d4",
"id": "6b761bc6-036e-4189-80eb-d32a75faa417",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml",
@@ -15,31 +15,31 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-7.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:53 GMT",
"Date": "Thu, 25 Mar 2021 10:36:24 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/\"602070ef7b718d94b563e2480e6861839e193e0f9a3b1738f458c302da1d3083\"",
"ETag": "W/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"",
"X-OAuth-Scopes": "repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4745",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "255",
"X-RateLimit-Remaining": "4990",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "10",
"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": "A792:B5ED:3673654:38BF406:6058A1E9"
"X-GitHub-Request-Id": "D598:12325:427F3B9:4381F16:605C67A8"
}
},
"uuid": "50de412a-67a3-4ce5-8bc6-2489b80e72d4",
"uuid": "6b761bc6-036e-4189-80eb-d32a75faa417",
"persistent": true,
"scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml",
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-3",

View File

@@ -1,5 +1,5 @@
{
"id": "cb70daae-6f35-4809-90f9-b33fb8a9f9fd",
"id": "86b5682b-e774-463f-af19-039ef0e802f7",
"name": "user",
"request": {
"url": "/user",
@@ -15,32 +15,32 @@
"bodyFileName": "user-1.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:51 GMT",
"Date": "Thu, 25 Mar 2021 10:36:22 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/\"7913a7993219ab61ca99857c87a65dd9e94b29925239b60463982779c4dd90f1\"",
"Last-Modified": "Mon, 22 Mar 2021 09:43:08 GMT",
"ETag": "W/\"879f35eed38dcc75ca2b3a8999425e0d51678f4c73ffade3c5bcc853b59245b6\"",
"Last-Modified": "Tue, 23 Mar 2021 17:35:45 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": "4754",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "246",
"X-RateLimit-Remaining": "4999",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "1",
"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": "A792:B5ED:36734EA:38BF295:6058A1E7"
"X-GitHub-Request-Id": "D598:12325:427EEBB:4381A07:605C67A6"
}
},
"uuid": "cb70daae-6f35-4809-90f9-b33fb8a9f9fd",
"uuid": "86b5682b-e774-463f-af19-039ef0e802f7",
"persistent": true,
"insertionIndex": 1
}

View File

@@ -5,7 +5,7 @@
"path": ".github/workflows/test-workflow.yml",
"state": "active",
"created_at": "2021-03-17T10:33:32.000+01:00",
"updated_at": "2021-03-22T14:55:53.000+01:00",
"updated_at": "2021-03-25T11:36:24.000+01:00",
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859",
"html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml",
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg"

View File

@@ -25,16 +25,16 @@
"hireable": null,
"bio": "Happy camper at Red Hat, working on Quarkus and the Hibernate portfolio.",
"twitter_username": "gsmet_",
"public_repos": 100,
"public_repos": 102,
"public_gists": 14,
"followers": 127,
"following": 3,
"created_at": "2011-12-22T11:03:22Z",
"updated_at": "2021-03-22T09:43:08Z",
"updated_at": "2021-03-23T17:35:45Z",
"private_gists": 14,
"total_private_repos": 5,
"owned_private_repos": 2,
"disk_usage": 68251,
"total_private_repos": 4,
"owned_private_repos": 1,
"disk_usage": 68258,
"collaborators": 1,
"two_factor_authentication": true,
"plan": {

View File

@@ -1,5 +1,5 @@
{
"id": "ef401b1e-e83b-4461-b9a0-c03e7e1a1ff8",
"id": "66e98e06-916e-4c7f-8747-c821f1d58b18",
"name": "repos_hub4j-test-org_ghworkflowtest",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest",
@@ -15,7 +15,7 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest-2.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:55 GMT",
"Date": "Thu, 25 Mar 2021 10:36:26 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
@@ -28,19 +28,19 @@
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4738",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "262",
"X-RateLimit-Remaining": "4983",
"X-RateLimit-Reset": "1616672182",
"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": "A798:FE91:80B17E8:82E13BD:6058A1EB"
"X-GitHub-Request-Id": "D59E:13DDE:48774DE:498A32F:605C67A9"
}
},
"uuid": "ef401b1e-e83b-4461-b9a0-c03e7e1a1ff8",
"uuid": "66e98e06-916e-4c7f-8747-c821f1d58b18",
"persistent": true,
"insertionIndex": 2
}

View File

@@ -1,5 +1,5 @@
{
"id": "b6b6ca07-ba2a-4182-a024-b5526a58758b",
"id": "a29bc36c-7907-4bbc-9542-a030ae5b8272",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/dispatches",
@@ -21,14 +21,14 @@
"status": 204,
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:55 GMT",
"Date": "Thu, 25 Mar 2021 10:36:26 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": "4736",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "264",
"X-RateLimit-Remaining": "4981",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "19",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
@@ -36,10 +36,10 @@
"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": "A798:FE91:80B18A0:82E1486:6058A1EB"
"X-GitHub-Request-Id": "D59E:13DDE:48775A3:498A3FC:605C67AA"
}
},
"uuid": "b6b6ca07-ba2a-4182-a024-b5526a58758b",
"uuid": "a29bc36c-7907-4bbc-9542-a030ae5b8272",
"persistent": true,
"insertionIndex": 4
}

View File

@@ -1,5 +1,5 @@
{
"id": "e5f51495-c88a-4e0e-901b-2190c25703f1",
"id": "e45e5bcb-5c9b-47f1-adcb-141e6165c8f4",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/dispatches",
@@ -22,15 +22,15 @@
"body": "{\"message\":\"Unexpected inputs provided: [\\\"parameter\\\"]\",\"documentation_url\":\"https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event\"}",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:55 GMT",
"Date": "Thu, 25 Mar 2021 10:36:26 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": "4735",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "265",
"X-RateLimit-Remaining": "4980",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "20",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
@@ -38,10 +38,10 @@
"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": "A798:FE91:80B193D:82E1514:6058A1EB"
"X-GitHub-Request-Id": "D59E:13DDE:487764D:498A4A7:605C67AA"
}
},
"uuid": "e5f51495-c88a-4e0e-901b-2190c25703f1",
"uuid": "e45e5bcb-5c9b-47f1-adcb-141e6165c8f4",
"persistent": true,
"insertionIndex": 5
}

View File

@@ -1,5 +1,5 @@
{
"id": "00ce8e39-75b2-457e-90c0-ffa74994df4f",
"id": "78e27ea7-027a-4f97-b770-5308041a2216",
"name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml",
"request": {
"url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml",
@@ -15,31 +15,31 @@
"bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:55 GMT",
"Date": "Thu, 25 Mar 2021 10:36:26 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/\"602070ef7b718d94b563e2480e6861839e193e0f9a3b1738f458c302da1d3083\"",
"ETag": "W/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"",
"X-OAuth-Scopes": "repo, user, workflow",
"X-Accepted-OAuth-Scopes": "",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4737",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "263",
"X-RateLimit-Remaining": "4982",
"X-RateLimit-Reset": "1616672182",
"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": "A798:FE91:80B1849:82E1426:6058A1EB"
"X-GitHub-Request-Id": "D59E:13DDE:4877553:498A3A7:605C67AA"
}
},
"uuid": "00ce8e39-75b2-457e-90c0-ffa74994df4f",
"uuid": "78e27ea7-027a-4f97-b770-5308041a2216",
"persistent": true,
"insertionIndex": 3
}

View File

@@ -1,5 +1,5 @@
{
"id": "9e90592a-34aa-4bc4-ac9d-4259a7be16e4",
"id": "44f1323e-bd63-4f16-b059-b83c47e18e5f",
"name": "user",
"request": {
"url": "/user",
@@ -15,32 +15,32 @@
"bodyFileName": "user-1.json",
"headers": {
"Server": "GitHub.com",
"Date": "Mon, 22 Mar 2021 13:55:54 GMT",
"Date": "Thu, 25 Mar 2021 10:36:25 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/\"7913a7993219ab61ca99857c87a65dd9e94b29925239b60463982779c4dd90f1\"",
"Last-Modified": "Mon, 22 Mar 2021 09:43:08 GMT",
"ETag": "W/\"879f35eed38dcc75ca2b3a8999425e0d51678f4c73ffade3c5bcc853b59245b6\"",
"Last-Modified": "Tue, 23 Mar 2021 17:35:45 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": "4742",
"X-RateLimit-Reset": "1616422330",
"X-RateLimit-Used": "258",
"X-RateLimit-Remaining": "4987",
"X-RateLimit-Reset": "1616672182",
"X-RateLimit-Used": "13",
"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": "A798:FE91:80B1681:82E125F:6058A1EA"
"X-GitHub-Request-Id": "D59E:13DDE:4877368:498A1B8:605C67A9"
}
},
"uuid": "9e90592a-34aa-4bc4-ac9d-4259a7be16e4",
"uuid": "44f1323e-bd63-4f16-b059-b83c47e18e5f",
"persistent": true,
"insertionIndex": 1
}