From 572abf99a6bb19e71ab4f17615ded8262e8ae6bd Mon Sep 17 00:00:00 2001 From: Stefan van Essen Date: Sun, 5 Nov 2023 21:04:57 +0100 Subject: [PATCH] Fix GitHub organization dependency, now works for user webhooks too (#201) --- backend/parser/github/pull-request.ts | 4 +- backend/parser/github/push.ts | 4 +- backend/parser/github/run.ts | 4 +- .../github/push/{ => organisation}/1.json | 12 +- .../github/push/{ => organisation}/10.json | 4 +- .../github/push/{ => organisation}/11.json | 0 .../github/push/{ => organisation}/12.json | 4 +- .../github/push/{ => organisation}/13.json | 4 +- .../github/push/{ => organisation}/14.json | 0 .../github/push/{ => organisation}/15.json | 4 +- .../github/push/{ => organisation}/16.json | 0 .../github/push/{ => organisation}/17.json | 4 +- .../github/push/{ => organisation}/18.json | 0 .../github/push/{ => organisation}/19.json | 0 .../github/push/{ => organisation}/2.json | 0 .../github/push/{ => organisation}/20.json | 4 +- .../github/push/{ => organisation}/21.json | 4 +- .../github/push/{ => organisation}/22.json | 0 .../github/push/{ => organisation}/23.json | 0 .../github/push/{ => organisation}/24.json | 4 +- .../github/push/{ => organisation}/25.json | 4 +- .../github/push/{ => organisation}/26.json | 0 .../github/push/{ => organisation}/27.json | 4 +- .../github/push/{ => organisation}/28.json | 4 +- .../github/push/{ => organisation}/29.json | 4 +- .../github/push/{ => organisation}/3.json | 4 +- .../github/push/{ => organisation}/30.json | 0 .../github/push/{ => organisation}/31.json | 4 +- .../github/push/{ => organisation}/32.json | 0 .../github/push/{ => organisation}/33.json | 4 +- .../github/push/{ => organisation}/34.json | 4 +- .../github/push/{ => organisation}/35.json | 0 .../github/push/{ => organisation}/36.json | 0 .../github/push/{ => organisation}/37.json | 4 +- .../github/push/{ => organisation}/38.json | 0 .../github/push/{ => organisation}/39.json | 0 .../github/push/{ => organisation}/4.json | 0 .../github/push/{ => organisation}/40.json | 4 +- .../github/push/{ => organisation}/41.json | 0 .../github/push/{ => organisation}/5.json | 0 .../github/push/{ => organisation}/6.json | 4 +- .../github/push/{ => organisation}/7.json | 0 .../github/push/{ => organisation}/8.json | 4 +- .../github/push/{ => organisation}/9.json | 4 +- .../github/push/personal-account/1.json | 164 ++++++++ .../github/push/personal-account/10.json | 229 +++++++++++ .../github/push/personal-account/11.json | 371 ++++++++++++++++++ .../github/push/personal-account/12.json | 229 +++++++++++ .../github/push/personal-account/13.json | 229 +++++++++++ .../github/push/personal-account/14.json | 345 ++++++++++++++++ .../github/push/personal-account/15.json | 245 ++++++++++++ .../github/push/personal-account/16.json | 345 ++++++++++++++++ .../github/push/personal-account/17.json | 245 ++++++++++++ .../github/push/personal-account/18.json | 245 ++++++++++++ .../github/push/personal-account/19.json | 345 ++++++++++++++++ .../github/push/personal-account/2.json | 345 ++++++++++++++++ .../github/push/personal-account/20.json | 256 ++++++++++++ .../github/push/personal-account/21.json | 345 ++++++++++++++++ .../github/push/personal-account/22.json | 245 ++++++++++++ .../github/push/personal-account/23.json | 371 ++++++++++++++++++ .../github/push/personal-account/3.json | 345 ++++++++++++++++ .../github/push/personal-account/4.json | 164 ++++++++ .../github/push/personal-account/5.json | 164 ++++++++ .../github/push/personal-account/6.json | 345 ++++++++++++++++ .../github/push/personal-account/7.json | 164 ++++++++ .../github/push/personal-account/8.json | 345 ++++++++++++++++ .../github/push/personal-account/9.json | 229 +++++++++++ .../integration/github/pull-request.spec.js | 34 +- cypress/integration/github/push.spec.js | 17 +- cypress/integration/github/release.spec.js | 22 +- types/github.ts | 11 +- 71 files changed, 6381 insertions(+), 121 deletions(-) rename cypress/fixtures/github/push/{ => organisation}/1.json (97%) rename cypress/fixtures/github/push/{ => organisation}/10.json (99%) rename cypress/fixtures/github/push/{ => organisation}/11.json (100%) rename cypress/fixtures/github/push/{ => organisation}/12.json (99%) rename cypress/fixtures/github/push/{ => organisation}/13.json (99%) rename cypress/fixtures/github/push/{ => organisation}/14.json (100%) rename cypress/fixtures/github/push/{ => organisation}/15.json (99%) rename cypress/fixtures/github/push/{ => organisation}/16.json (100%) rename cypress/fixtures/github/push/{ => organisation}/17.json (99%) rename cypress/fixtures/github/push/{ => organisation}/18.json (100%) rename cypress/fixtures/github/push/{ => organisation}/19.json (100%) rename cypress/fixtures/github/push/{ => organisation}/2.json (100%) rename cypress/fixtures/github/push/{ => organisation}/20.json (99%) rename cypress/fixtures/github/push/{ => organisation}/21.json (99%) rename cypress/fixtures/github/push/{ => organisation}/22.json (100%) rename cypress/fixtures/github/push/{ => organisation}/23.json (100%) rename cypress/fixtures/github/push/{ => organisation}/24.json (99%) rename cypress/fixtures/github/push/{ => organisation}/25.json (99%) rename cypress/fixtures/github/push/{ => organisation}/26.json (100%) rename cypress/fixtures/github/push/{ => organisation}/27.json (99%) rename cypress/fixtures/github/push/{ => organisation}/28.json (99%) rename cypress/fixtures/github/push/{ => organisation}/29.json (99%) rename cypress/fixtures/github/push/{ => organisation}/3.json (99%) rename cypress/fixtures/github/push/{ => organisation}/30.json (100%) rename cypress/fixtures/github/push/{ => organisation}/31.json (99%) rename cypress/fixtures/github/push/{ => organisation}/32.json (100%) rename cypress/fixtures/github/push/{ => organisation}/33.json (99%) rename cypress/fixtures/github/push/{ => organisation}/34.json (99%) rename cypress/fixtures/github/push/{ => organisation}/35.json (100%) rename cypress/fixtures/github/push/{ => organisation}/36.json (100%) rename cypress/fixtures/github/push/{ => organisation}/37.json (99%) rename cypress/fixtures/github/push/{ => organisation}/38.json (100%) rename cypress/fixtures/github/push/{ => organisation}/39.json (100%) rename cypress/fixtures/github/push/{ => organisation}/4.json (100%) rename cypress/fixtures/github/push/{ => organisation}/40.json (99%) rename cypress/fixtures/github/push/{ => organisation}/41.json (100%) rename cypress/fixtures/github/push/{ => organisation}/5.json (100%) rename cypress/fixtures/github/push/{ => organisation}/6.json (99%) rename cypress/fixtures/github/push/{ => organisation}/7.json (100%) rename cypress/fixtures/github/push/{ => organisation}/8.json (99%) rename cypress/fixtures/github/push/{ => organisation}/9.json (99%) create mode 100644 cypress/fixtures/github/push/personal-account/1.json create mode 100644 cypress/fixtures/github/push/personal-account/10.json create mode 100644 cypress/fixtures/github/push/personal-account/11.json create mode 100644 cypress/fixtures/github/push/personal-account/12.json create mode 100644 cypress/fixtures/github/push/personal-account/13.json create mode 100644 cypress/fixtures/github/push/personal-account/14.json create mode 100644 cypress/fixtures/github/push/personal-account/15.json create mode 100644 cypress/fixtures/github/push/personal-account/16.json create mode 100644 cypress/fixtures/github/push/personal-account/17.json create mode 100644 cypress/fixtures/github/push/personal-account/18.json create mode 100644 cypress/fixtures/github/push/personal-account/19.json create mode 100644 cypress/fixtures/github/push/personal-account/2.json create mode 100644 cypress/fixtures/github/push/personal-account/20.json create mode 100644 cypress/fixtures/github/push/personal-account/21.json create mode 100644 cypress/fixtures/github/push/personal-account/22.json create mode 100644 cypress/fixtures/github/push/personal-account/23.json create mode 100644 cypress/fixtures/github/push/personal-account/3.json create mode 100644 cypress/fixtures/github/push/personal-account/4.json create mode 100644 cypress/fixtures/github/push/personal-account/5.json create mode 100644 cypress/fixtures/github/push/personal-account/6.json create mode 100644 cypress/fixtures/github/push/personal-account/7.json create mode 100644 cypress/fixtures/github/push/personal-account/8.json create mode 100644 cypress/fixtures/github/push/personal-account/9.json diff --git a/backend/parser/github/pull-request.ts b/backend/parser/github/pull-request.ts index b218603e..61d52d01 100644 --- a/backend/parser/github/pull-request.ts +++ b/backend/parser/github/pull-request.ts @@ -9,7 +9,7 @@ class GitHubPullRequestParser { if (!status) { status = { id, - project: `${pullRequest.organization.login} / ${pullRequest.repository.name}`, + project: `${pullRequest.repository.owner.login} / ${pullRequest.repository.name}`, state: 'info', source: 'github', time: new Date().toUTCString(), @@ -23,7 +23,7 @@ class GitHubPullRequestParser { username: pullRequest.sender.login, userUrl: pullRequest.sender.html_url, userImage: pullRequest.sender.avatar_url, - projectImage: pullRequest.organization.avatar_url, + projectImage: pullRequest.repository.owner.avatar_url, sourceUrl: pullRequest.repository.html_url, mergeTitle: pullRequest.pull_request.title, mergeUrl: pullRequest.pull_request.html_url, diff --git a/backend/parser/github/push.ts b/backend/parser/github/push.ts index 0b23f398..85eba053 100644 --- a/backend/parser/github/push.ts +++ b/backend/parser/github/push.ts @@ -11,7 +11,7 @@ class GitHubPushParser { if (!status) { status = { id, - project: `${push.organization.login} / ${push.repository.name}`, + project: `${push.repository.owner.name} / ${push.repository.name}`, state: 'info', source: 'github', time: new Date().toUTCString(), @@ -34,7 +34,7 @@ class GitHubPushParser { username: push.sender.login, userUrl: push.sender.html_url, userImage: push.sender.avatar_url, - projectImage: push.organization.avatar_url, + projectImage: push.repository.owner.avatar_url, sourceUrl: push.repository.html_url, time: new Date().toUTCString(), }; diff --git a/backend/parser/github/run.ts b/backend/parser/github/run.ts index 92cc42b4..8b8f3265 100644 --- a/backend/parser/github/run.ts +++ b/backend/parser/github/run.ts @@ -12,7 +12,7 @@ class GitHubRunParser { if (!status) { status = { id, - project: `${run.organization.login} / ${run.repository.name}`, + project: `${run.repository.owner.login} / ${run.repository.name}`, state: 'info', source: 'github', branch: run.workflow_run.head_branch, @@ -55,7 +55,7 @@ class GitHubRunParser { username: run.sender.login, userUrl: run.sender.html_url, userImage: run.sender.avatar_url, - projectImage: run.organization.avatar_url, + projectImage: run.repository.owner.avatar_url, sourceUrl: run.repository.html_url, processes, time: new Date().toUTCString(), diff --git a/cypress/fixtures/github/push/1.json b/cypress/fixtures/github/push/organisation/1.json similarity index 97% rename from cypress/fixtures/github/push/1.json rename to cypress/fixtures/github/push/organisation/1.json index a4c52b5a..cd5bf160 100644 --- a/cypress/fixtures/github/push/1.json +++ b/cypress/fixtures/github/push/organisation/1.json @@ -201,11 +201,7 @@ }, "added": [], "removed": [], - "modified": [ - ".editorconfig", - "docs/run/locally.md", - "docs/run/raspberry-arm.md" - ] + "modified": [".editorconfig", "docs/run/locally.md", "docs/run/raspberry-arm.md"] } ], "head_commit": { @@ -227,11 +223,7 @@ }, "added": [], "removed": [], - "modified": [ - ".editorconfig", - "docs/run/locally.md", - "docs/run/raspberry-arm.md" - ] + "modified": [".editorconfig", "docs/run/locally.md", "docs/run/raspberry-arm.md"] } } } diff --git a/cypress/fixtures/github/push/10.json b/cypress/fixtures/github/push/organisation/10.json similarity index 99% rename from cypress/fixtures/github/push/10.json rename to cypress/fixtures/github/push/organisation/10.json index 1b83658a..e5265de3 100644 --- a/cypress/fixtures/github/push/10.json +++ b/cypress/fixtures/github/push/organisation/10.json @@ -75,9 +75,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967224", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 3, "runner_name": "GitHub Actions 3", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/11.json b/cypress/fixtures/github/push/organisation/11.json similarity index 100% rename from cypress/fixtures/github/push/11.json rename to cypress/fixtures/github/push/organisation/11.json diff --git a/cypress/fixtures/github/push/12.json b/cypress/fixtures/github/push/organisation/12.json similarity index 99% rename from cypress/fixtures/github/push/12.json rename to cypress/fixtures/github/push/organisation/12.json index d46b8120..ee107f37 100644 --- a/cypress/fixtures/github/push/12.json +++ b/cypress/fixtures/github/push/organisation/12.json @@ -35,9 +35,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967136", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 2, "runner_name": "GitHub Actions 2", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/13.json b/cypress/fixtures/github/push/organisation/13.json similarity index 99% rename from cypress/fixtures/github/push/13.json rename to cypress/fixtures/github/push/organisation/13.json index 5c2c4f07..0d6d7e04 100644 --- a/cypress/fixtures/github/push/13.json +++ b/cypress/fixtures/github/push/organisation/13.json @@ -91,9 +91,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967326", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 4, "runner_name": "GitHub Actions 4", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/14.json b/cypress/fixtures/github/push/organisation/14.json similarity index 100% rename from cypress/fixtures/github/push/14.json rename to cypress/fixtures/github/push/organisation/14.json diff --git a/cypress/fixtures/github/push/15.json b/cypress/fixtures/github/push/organisation/15.json similarity index 99% rename from cypress/fixtures/github/push/15.json rename to cypress/fixtures/github/push/organisation/15.json index e13af4ef..19f49850 100644 --- a/cypress/fixtures/github/push/15.json +++ b/cypress/fixtures/github/push/organisation/15.json @@ -91,9 +91,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967224", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 3, "runner_name": "GitHub Actions 3", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/16.json b/cypress/fixtures/github/push/organisation/16.json similarity index 100% rename from cypress/fixtures/github/push/16.json rename to cypress/fixtures/github/push/organisation/16.json diff --git a/cypress/fixtures/github/push/17.json b/cypress/fixtures/github/push/organisation/17.json similarity index 99% rename from cypress/fixtures/github/push/17.json rename to cypress/fixtures/github/push/organisation/17.json index 2b55e3d0..67a49dbb 100644 --- a/cypress/fixtures/github/push/17.json +++ b/cypress/fixtures/github/push/organisation/17.json @@ -91,9 +91,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967136", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 2, "runner_name": "GitHub Actions 2", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/18.json b/cypress/fixtures/github/push/organisation/18.json similarity index 100% rename from cypress/fixtures/github/push/18.json rename to cypress/fixtures/github/push/organisation/18.json diff --git a/cypress/fixtures/github/push/19.json b/cypress/fixtures/github/push/organisation/19.json similarity index 100% rename from cypress/fixtures/github/push/19.json rename to cypress/fixtures/github/push/organisation/19.json diff --git a/cypress/fixtures/github/push/2.json b/cypress/fixtures/github/push/organisation/2.json similarity index 100% rename from cypress/fixtures/github/push/2.json rename to cypress/fixtures/github/push/organisation/2.json diff --git a/cypress/fixtures/github/push/20.json b/cypress/fixtures/github/push/organisation/20.json similarity index 99% rename from cypress/fixtures/github/push/20.json rename to cypress/fixtures/github/push/organisation/20.json index 547d31dd..8abfe2b0 100644 --- a/cypress/fixtures/github/push/20.json +++ b/cypress/fixtures/github/push/organisation/20.json @@ -26,9 +26,7 @@ "name": "Build / Module client / Build & Tag", "steps": [], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979549", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": null, "runner_name": null, "runner_group_id": null, diff --git a/cypress/fixtures/github/push/21.json b/cypress/fixtures/github/push/organisation/21.json similarity index 99% rename from cypress/fixtures/github/push/21.json rename to cypress/fixtures/github/push/organisation/21.json index d26ae84d..36bdfc57 100644 --- a/cypress/fixtures/github/push/21.json +++ b/cypress/fixtures/github/push/organisation/21.json @@ -26,9 +26,7 @@ "name": "Build / Module client ARM / Build & Tag", "steps": [], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979605", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": null, "runner_name": null, "runner_group_id": null, diff --git a/cypress/fixtures/github/push/22.json b/cypress/fixtures/github/push/organisation/22.json similarity index 100% rename from cypress/fixtures/github/push/22.json rename to cypress/fixtures/github/push/organisation/22.json diff --git a/cypress/fixtures/github/push/23.json b/cypress/fixtures/github/push/organisation/23.json similarity index 100% rename from cypress/fixtures/github/push/23.json rename to cypress/fixtures/github/push/organisation/23.json diff --git a/cypress/fixtures/github/push/24.json b/cypress/fixtures/github/push/organisation/24.json similarity index 99% rename from cypress/fixtures/github/push/24.json rename to cypress/fixtures/github/push/organisation/24.json index 9479da0d..bcfca065 100644 --- a/cypress/fixtures/github/push/24.json +++ b/cypress/fixtures/github/push/organisation/24.json @@ -26,9 +26,7 @@ "name": "Build / Server / Build & Tag", "steps": [], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979664", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": null, "runner_name": null, "runner_group_id": null, diff --git a/cypress/fixtures/github/push/25.json b/cypress/fixtures/github/push/organisation/25.json similarity index 99% rename from cypress/fixtures/github/push/25.json rename to cypress/fixtures/github/push/organisation/25.json index 25586df6..da51e634 100644 --- a/cypress/fixtures/github/push/25.json +++ b/cypress/fixtures/github/push/organisation/25.json @@ -26,9 +26,7 @@ "name": "Build / Server ARM / Build & Tag", "steps": [], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979711", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": null, "runner_name": null, "runner_group_id": null, diff --git a/cypress/fixtures/github/push/26.json b/cypress/fixtures/github/push/organisation/26.json similarity index 100% rename from cypress/fixtures/github/push/26.json rename to cypress/fixtures/github/push/organisation/26.json diff --git a/cypress/fixtures/github/push/27.json b/cypress/fixtures/github/push/organisation/27.json similarity index 99% rename from cypress/fixtures/github/push/27.json rename to cypress/fixtures/github/push/organisation/27.json index 548ce970..2a525c09 100644 --- a/cypress/fixtures/github/push/27.json +++ b/cypress/fixtures/github/push/organisation/27.json @@ -123,9 +123,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979549", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 3, "runner_name": "GitHub Actions 3", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/28.json b/cypress/fixtures/github/push/organisation/28.json similarity index 99% rename from cypress/fixtures/github/push/28.json rename to cypress/fixtures/github/push/organisation/28.json index aadb1f8d..b2c7055d 100644 --- a/cypress/fixtures/github/push/28.json +++ b/cypress/fixtures/github/push/organisation/28.json @@ -123,9 +123,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979711", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 5, "runner_name": "GitHub Actions 5", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/29.json b/cypress/fixtures/github/push/organisation/29.json similarity index 99% rename from cypress/fixtures/github/push/29.json rename to cypress/fixtures/github/push/organisation/29.json index 26193e1b..93e6d404 100644 --- a/cypress/fixtures/github/push/29.json +++ b/cypress/fixtures/github/push/organisation/29.json @@ -123,9 +123,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979664", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 4, "runner_name": "GitHub Actions 4", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/3.json b/cypress/fixtures/github/push/organisation/3.json similarity index 99% rename from cypress/fixtures/github/push/3.json rename to cypress/fixtures/github/push/organisation/3.json index 15618144..0dfb4e93 100644 --- a/cypress/fixtures/github/push/3.json +++ b/cypress/fixtures/github/push/organisation/3.json @@ -26,9 +26,7 @@ "name": "Test / ESLint", "steps": [], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967136", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": null, "runner_name": null, "runner_group_id": null, diff --git a/cypress/fixtures/github/push/30.json b/cypress/fixtures/github/push/organisation/30.json similarity index 100% rename from cypress/fixtures/github/push/30.json rename to cypress/fixtures/github/push/organisation/30.json diff --git a/cypress/fixtures/github/push/31.json b/cypress/fixtures/github/push/organisation/31.json similarity index 99% rename from cypress/fixtures/github/push/31.json rename to cypress/fixtures/github/push/organisation/31.json index 91da38b1..542beaa7 100644 --- a/cypress/fixtures/github/push/31.json +++ b/cypress/fixtures/github/push/organisation/31.json @@ -123,9 +123,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979605", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 2, "runner_name": "GitHub Actions 2", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/32.json b/cypress/fixtures/github/push/organisation/32.json similarity index 100% rename from cypress/fixtures/github/push/32.json rename to cypress/fixtures/github/push/organisation/32.json diff --git a/cypress/fixtures/github/push/33.json b/cypress/fixtures/github/push/organisation/33.json similarity index 99% rename from cypress/fixtures/github/push/33.json rename to cypress/fixtures/github/push/organisation/33.json index df6519cc..14cb24b0 100644 --- a/cypress/fixtures/github/push/33.json +++ b/cypress/fixtures/github/push/organisation/33.json @@ -147,9 +147,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979549", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 3, "runner_name": "GitHub Actions 3", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/34.json b/cypress/fixtures/github/push/organisation/34.json similarity index 99% rename from cypress/fixtures/github/push/34.json rename to cypress/fixtures/github/push/organisation/34.json index 3a176e97..35774b0b 100644 --- a/cypress/fixtures/github/push/34.json +++ b/cypress/fixtures/github/push/organisation/34.json @@ -147,9 +147,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979664", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 4, "runner_name": "GitHub Actions 4", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/35.json b/cypress/fixtures/github/push/organisation/35.json similarity index 100% rename from cypress/fixtures/github/push/35.json rename to cypress/fixtures/github/push/organisation/35.json diff --git a/cypress/fixtures/github/push/36.json b/cypress/fixtures/github/push/organisation/36.json similarity index 100% rename from cypress/fixtures/github/push/36.json rename to cypress/fixtures/github/push/organisation/36.json diff --git a/cypress/fixtures/github/push/37.json b/cypress/fixtures/github/push/organisation/37.json similarity index 99% rename from cypress/fixtures/github/push/37.json rename to cypress/fixtures/github/push/organisation/37.json index dcd6f0e7..838ee2f7 100644 --- a/cypress/fixtures/github/push/37.json +++ b/cypress/fixtures/github/push/organisation/37.json @@ -147,9 +147,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979711", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 5, "runner_name": "GitHub Actions 5", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/38.json b/cypress/fixtures/github/push/organisation/38.json similarity index 100% rename from cypress/fixtures/github/push/38.json rename to cypress/fixtures/github/push/organisation/38.json diff --git a/cypress/fixtures/github/push/39.json b/cypress/fixtures/github/push/organisation/39.json similarity index 100% rename from cypress/fixtures/github/push/39.json rename to cypress/fixtures/github/push/organisation/39.json diff --git a/cypress/fixtures/github/push/4.json b/cypress/fixtures/github/push/organisation/4.json similarity index 100% rename from cypress/fixtures/github/push/4.json rename to cypress/fixtures/github/push/organisation/4.json diff --git a/cypress/fixtures/github/push/40.json b/cypress/fixtures/github/push/organisation/40.json similarity index 99% rename from cypress/fixtures/github/push/40.json rename to cypress/fixtures/github/push/organisation/40.json index 213e642e..3912a9fe 100644 --- a/cypress/fixtures/github/push/40.json +++ b/cypress/fixtures/github/push/organisation/40.json @@ -147,9 +147,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367979605", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 2, "runner_name": "GitHub Actions 2", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/41.json b/cypress/fixtures/github/push/organisation/41.json similarity index 100% rename from cypress/fixtures/github/push/41.json rename to cypress/fixtures/github/push/organisation/41.json diff --git a/cypress/fixtures/github/push/5.json b/cypress/fixtures/github/push/organisation/5.json similarity index 100% rename from cypress/fixtures/github/push/5.json rename to cypress/fixtures/github/push/organisation/5.json diff --git a/cypress/fixtures/github/push/6.json b/cypress/fixtures/github/push/organisation/6.json similarity index 99% rename from cypress/fixtures/github/push/6.json rename to cypress/fixtures/github/push/organisation/6.json index acf581dc..15f09ab2 100644 --- a/cypress/fixtures/github/push/6.json +++ b/cypress/fixtures/github/push/organisation/6.json @@ -26,9 +26,7 @@ "name": "Test / Frontend typescript", "steps": [], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967224", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": null, "runner_name": null, "runner_group_id": null, diff --git a/cypress/fixtures/github/push/7.json b/cypress/fixtures/github/push/organisation/7.json similarity index 100% rename from cypress/fixtures/github/push/7.json rename to cypress/fixtures/github/push/organisation/7.json diff --git a/cypress/fixtures/github/push/8.json b/cypress/fixtures/github/push/organisation/8.json similarity index 99% rename from cypress/fixtures/github/push/8.json rename to cypress/fixtures/github/push/organisation/8.json index 9bfb89ee..7d95813d 100644 --- a/cypress/fixtures/github/push/8.json +++ b/cypress/fixtures/github/push/organisation/8.json @@ -26,9 +26,7 @@ "name": "Test / Backend typescript", "steps": [], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967326", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": null, "runner_name": null, "runner_group_id": null, diff --git a/cypress/fixtures/github/push/9.json b/cypress/fixtures/github/push/organisation/9.json similarity index 99% rename from cypress/fixtures/github/push/9.json rename to cypress/fixtures/github/push/organisation/9.json index bab41739..bfaa276f 100644 --- a/cypress/fixtures/github/push/9.json +++ b/cypress/fixtures/github/push/organisation/9.json @@ -83,9 +83,7 @@ } ], "check_run_url": "https://api.github.com/repos/FuturePortal/CIMonitor/check-runs/18367967326", - "labels": [ - "ubuntu-22.04" - ], + "labels": ["ubuntu-22.04"], "runner_id": 4, "runner_name": "GitHub Actions 4", "runner_group_id": 2, diff --git a/cypress/fixtures/github/push/personal-account/1.json b/cypress/fixtures/github/push/personal-account/1.json new file mode 100644 index 00000000..08546a66 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/1.json @@ -0,0 +1,164 @@ +{ + "headers": { + "x-real-ip": "140.82.115.44", + "x-forwarded-for": "140.82.115.44", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "queued", + "workflow_job": { + "id": 18278266895, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4Dw", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278266895", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278266895", + "status": "queued", + "conclusion": null, + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:34Z", + "completed_at": null, + "name": "build (7.4)", + "steps": [], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278266895", + "labels": ["ubuntu-22.04"], + "runner_id": null, + "runner_name": null, + "runner_group_id": null, + "runner_group_name": null + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/10.json b/cypress/fixtures/github/push/personal-account/10.json new file mode 100644 index 00000000..8b896ccd --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/10.json @@ -0,0 +1,229 @@ +{ + "headers": { + "x-real-ip": "140.82.115.63", + "x-forwarded-for": "140.82.115.63", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "in_progress", + "workflow_job": { + "id": 18278267316, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg5tA", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267316", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267316", + "status": "in_progress", + "conclusion": null, + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:40Z", + "completed_at": null, + "name": "build (8.1)", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": "2023-11-01T20:47:40.000Z" + }, + { + "name": "Checkout the codebase", + "status": "in_progress", + "conclusion": null, + "number": 2, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": null + }, + { + "name": "Build the container for testing", + "status": "queued", + "conclusion": null, + "number": 3, + "started_at": null, + "completed_at": null + }, + { + "name": "Start the container", + "status": "queued", + "conclusion": null, + "number": 4, + "started_at": null, + "completed_at": null + }, + { + "name": "Test the container", + "status": "queued", + "conclusion": null, + "number": 5, + "started_at": null, + "completed_at": null + }, + { + "name": "Login to Docker Hub", + "status": "queued", + "conclusion": null, + "number": 6, + "started_at": null, + "completed_at": null + }, + { + "name": "Build multi-arch and push the container to Docker Hub", + "status": "queued", + "conclusion": null, + "number": 7, + "started_at": null, + "completed_at": null + }, + { + "name": "Post Checkout the codebase", + "status": "queued", + "conclusion": null, + "number": 14, + "started_at": null, + "completed_at": null + } + ], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267316", + "labels": ["ubuntu-22.04"], + "runner_id": 3, + "runner_name": "GitHub Actions 3", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/11.json b/cypress/fixtures/github/push/personal-account/11.json new file mode 100644 index 00000000..9ab8f587 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/11.json @@ -0,0 +1,371 @@ +{ + "headers": { + "x-real-ip": "140.82.115.157", + "x-forwarded-for": "140.82.115.157", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_run", + "content-type": "application/json" + }, + "body": { + "action": "in_progress", + "workflow_run": { + "id": 6719072501, + "name": "Build containers", + "node_id": "WFR_kwLOBWl8Bs8AAAABkHzo9Q", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "path": ".github/workflows/build-containers.yml", + "display_title": "Remove the Alpine Edge build of PHP 8.2", + "run_number": 1089, + "event": "push", + "status": "in_progress", + "conclusion": null, + "workflow_id": 5412238, + "check_suite_id": 17814420610, + "check_suite_node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "pull_requests": [], + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:47:42Z", + "actor": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "run_attempt": 3, + "referenced_workflows": [], + "run_started_at": "2023-11-01T20:47:32Z", + "triggering_actor": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "jobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/jobs", + "logs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/logs", + "check_suite_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "artifacts_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/artifacts", + "cancel_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/cancel", + "rerun_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/rerun", + "previous_attempt_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/attempts/2", + "workflow_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/workflows/5412238", + "head_commit": { + "id": "12d51e978990309ca69884d574f4aa5538739a8c", + "tree_id": "d0a46f20283ee57f90ca5bc9e7f03e39c78fba3c", + "message": "Remove the Alpine Edge build of PHP 8.2", + "timestamp": "2023-11-01T11:26:01Z", + "author": { + "name": "Stefan van Essen", + "email": "git@stefan-van-essen.nl" + }, + "committer": { + "name": "Stefan van Essen", + "email": "git@stefan-van-essen.nl" + } + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments" + }, + "head_repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments" + } + }, + "workflow": { + "id": 5412238, + "node_id": "MDg6V29ya2Zsb3c1NDEyMjM4", + "name": "Build containers", + "path": ".github/workflows/build-containers.yml", + "state": "active", + "created_at": "2021-01-29T20:16:55.000Z", + "updated_at": "2023-03-14T12:03:02.000Z", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/workflows/5412238", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/blob/master/.github/workflows/build-containers.yml", + "badge_url": "https://github.com/eXistenZNL/Docker-Webstack/workflows/Build%20containers/badge.svg" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/12.json b/cypress/fixtures/github/push/personal-account/12.json new file mode 100644 index 00000000..e6d167e4 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/12.json @@ -0,0 +1,229 @@ +{ + "headers": { + "x-real-ip": "140.82.115.145", + "x-forwarded-for": "140.82.115.145", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "in_progress", + "workflow_job": { + "id": 18278267514, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg6eg", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267514", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267514", + "status": "in_progress", + "conclusion": null, + "created_at": "2023-11-01T20:47:35Z", + "started_at": "2023-11-01T20:47:41Z", + "completed_at": null, + "name": "build (8.2)", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": "2023-11-01T20:47:41.000Z" + }, + { + "name": "Checkout the codebase", + "status": "in_progress", + "conclusion": null, + "number": 2, + "started_at": "2023-11-01T20:47:41.000Z", + "completed_at": null + }, + { + "name": "Build the container for testing", + "status": "queued", + "conclusion": null, + "number": 3, + "started_at": null, + "completed_at": null + }, + { + "name": "Start the container", + "status": "queued", + "conclusion": null, + "number": 4, + "started_at": null, + "completed_at": null + }, + { + "name": "Test the container", + "status": "queued", + "conclusion": null, + "number": 5, + "started_at": null, + "completed_at": null + }, + { + "name": "Login to Docker Hub", + "status": "queued", + "conclusion": null, + "number": 6, + "started_at": null, + "completed_at": null + }, + { + "name": "Build multi-arch and push the container to Docker Hub", + "status": "queued", + "conclusion": null, + "number": 7, + "started_at": null, + "completed_at": null + }, + { + "name": "Post Checkout the codebase", + "status": "queued", + "conclusion": null, + "number": 14, + "started_at": null, + "completed_at": null + } + ], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267514", + "labels": ["ubuntu-22.04"], + "runner_id": 5, + "runner_name": "GitHub Actions 5", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/13.json b/cypress/fixtures/github/push/personal-account/13.json new file mode 100644 index 00000000..88849943 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/13.json @@ -0,0 +1,229 @@ +{ + "headers": { + "x-real-ip": "140.82.115.32", + "x-forwarded-for": "140.82.115.32", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "in_progress", + "workflow_job": { + "id": 18278267132, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4_A", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267132", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267132", + "status": "in_progress", + "conclusion": null, + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:41Z", + "completed_at": null, + "name": "build (8.0)", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2023-11-01T20:47:41.000Z", + "completed_at": "2023-11-01T20:47:42.000Z" + }, + { + "name": "Checkout the codebase", + "status": "in_progress", + "conclusion": null, + "number": 2, + "started_at": "2023-11-01T20:47:42.000Z", + "completed_at": null + }, + { + "name": "Build the container for testing", + "status": "queued", + "conclusion": null, + "number": 3, + "started_at": null, + "completed_at": null + }, + { + "name": "Start the container", + "status": "queued", + "conclusion": null, + "number": 4, + "started_at": null, + "completed_at": null + }, + { + "name": "Test the container", + "status": "queued", + "conclusion": null, + "number": 5, + "started_at": null, + "completed_at": null + }, + { + "name": "Login to Docker Hub", + "status": "queued", + "conclusion": null, + "number": 6, + "started_at": null, + "completed_at": null + }, + { + "name": "Build multi-arch and push the container to Docker Hub", + "status": "queued", + "conclusion": null, + "number": 7, + "started_at": null, + "completed_at": null + }, + { + "name": "Post Checkout the codebase", + "status": "queued", + "conclusion": null, + "number": 14, + "started_at": null, + "completed_at": null + } + ], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267132", + "labels": ["ubuntu-22.04"], + "runner_id": 4, + "runner_name": "GitHub Actions 4", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/14.json b/cypress/fixtures/github/push/personal-account/14.json new file mode 100644 index 00000000..fce7ca14 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/14.json @@ -0,0 +1,345 @@ +{ + "headers": { + "x-real-ip": "140.82.115.244", + "x-forwarded-for": "140.82.115.244", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_run", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "check_run": { + "id": 18278266895, + "name": "build (7.4)", + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4Dw", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "external_id": "82a1ef20-ae48-5a48-638a-560bb9e4342b", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278266895", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278266895", + "details_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278266895", + "status": "completed", + "conclusion": "success", + "started_at": "2023-11-01T20:47:39Z", + "completed_at": "2023-11-01T20:48:19Z", + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278266895/annotations" + }, + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "in_progress", + "conclusion": null, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:47:42Z" + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "pull_requests": [] + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/15.json b/cypress/fixtures/github/push/personal-account/15.json new file mode 100644 index 00000000..7cb6f29f --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/15.json @@ -0,0 +1,245 @@ +{ + "headers": { + "x-real-ip": "140.82.115.244", + "x-forwarded-for": "140.82.115.244", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "workflow_job": { + "id": 18278266895, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4Dw", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278266895", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278266895", + "status": "completed", + "conclusion": "success", + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:39Z", + "completed_at": "2023-11-01T20:48:19Z", + "name": "build (7.4)", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2023-11-01T20:47:39.000Z", + "completed_at": "2023-11-01T20:47:40.000Z" + }, + { + "name": "Checkout the codebase", + "status": "completed", + "conclusion": "success", + "number": 2, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": "2023-11-01T20:47:40.000Z" + }, + { + "name": "Build the container for testing", + "status": "completed", + "conclusion": "success", + "number": 3, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": "2023-11-01T20:47:44.000Z" + }, + { + "name": "Start the container", + "status": "completed", + "conclusion": "success", + "number": 4, + "started_at": "2023-11-01T20:47:45.000Z", + "completed_at": "2023-11-01T20:47:54.000Z" + }, + { + "name": "Test the container", + "status": "completed", + "conclusion": "success", + "number": 5, + "started_at": "2023-11-01T20:47:54.000Z", + "completed_at": "2023-11-01T20:48:04.000Z" + }, + { + "name": "Login to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 6, + "started_at": "2023-11-01T20:48:05.000Z", + "completed_at": "2023-11-01T20:48:05.000Z" + }, + { + "name": "Build multi-arch and push the container to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 7, + "started_at": "2023-11-01T20:48:05.000Z", + "completed_at": "2023-11-01T20:48:18.000Z" + }, + { + "name": "Post Login to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 13, + "started_at": "2023-11-01T20:48:19.000Z", + "completed_at": "2023-11-01T20:48:19.000Z" + }, + { + "name": "Post Checkout the codebase", + "status": "completed", + "conclusion": "success", + "number": 14, + "started_at": "2023-11-01T20:48:19.000Z", + "completed_at": "2023-11-01T20:48:19.000Z" + }, + { + "name": "Complete job", + "status": "completed", + "conclusion": "success", + "number": 15, + "started_at": "2023-11-01T20:48:19.000Z", + "completed_at": "2023-11-01T20:48:19.000Z" + } + ], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278266895", + "labels": ["ubuntu-22.04"], + "runner_id": 2, + "runner_name": "GitHub Actions 2", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/16.json b/cypress/fixtures/github/push/personal-account/16.json new file mode 100644 index 00000000..d80e091d --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/16.json @@ -0,0 +1,345 @@ +{ + "headers": { + "x-real-ip": "140.82.115.37", + "x-forwarded-for": "140.82.115.37", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_run", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "check_run": { + "id": 18278267316, + "name": "build (8.1)", + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg5tA", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "external_id": "173dc28d-16b7-5be4-d0fc-6c83c4c80297", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267316", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267316", + "details_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267316", + "status": "completed", + "conclusion": "success", + "started_at": "2023-11-01T20:47:40Z", + "completed_at": "2023-11-01T20:48:23Z", + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267316/annotations" + }, + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "in_progress", + "conclusion": null, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:47:42Z" + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "pull_requests": [] + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/17.json b/cypress/fixtures/github/push/personal-account/17.json new file mode 100644 index 00000000..2cde9cca --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/17.json @@ -0,0 +1,245 @@ +{ + "headers": { + "x-real-ip": "140.82.115.103", + "x-forwarded-for": "140.82.115.103", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "workflow_job": { + "id": 18278267316, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg5tA", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267316", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267316", + "status": "completed", + "conclusion": "success", + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:40Z", + "completed_at": "2023-11-01T20:48:23Z", + "name": "build (8.1)", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": "2023-11-01T20:47:40.000Z" + }, + { + "name": "Checkout the codebase", + "status": "completed", + "conclusion": "success", + "number": 2, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": "2023-11-01T20:47:41.000Z" + }, + { + "name": "Build the container for testing", + "status": "completed", + "conclusion": "success", + "number": 3, + "started_at": "2023-11-01T20:47:41.000Z", + "completed_at": "2023-11-01T20:47:46.000Z" + }, + { + "name": "Start the container", + "status": "completed", + "conclusion": "success", + "number": 4, + "started_at": "2023-11-01T20:47:46.000Z", + "completed_at": "2023-11-01T20:47:56.000Z" + }, + { + "name": "Test the container", + "status": "completed", + "conclusion": "success", + "number": 5, + "started_at": "2023-11-01T20:47:56.000Z", + "completed_at": "2023-11-01T20:48:06.000Z" + }, + { + "name": "Login to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 6, + "started_at": "2023-11-01T20:48:06.000Z", + "completed_at": "2023-11-01T20:48:06.000Z" + }, + { + "name": "Build multi-arch and push the container to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 7, + "started_at": "2023-11-01T20:48:07.000Z", + "completed_at": "2023-11-01T20:48:21.000Z" + }, + { + "name": "Post Login to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 13, + "started_at": "2023-11-01T20:48:22.000Z", + "completed_at": "2023-11-01T20:48:22.000Z" + }, + { + "name": "Post Checkout the codebase", + "status": "completed", + "conclusion": "success", + "number": 14, + "started_at": "2023-11-01T20:48:22.000Z", + "completed_at": "2023-11-01T20:48:22.000Z" + }, + { + "name": "Complete job", + "status": "completed", + "conclusion": "success", + "number": 15, + "started_at": "2023-11-01T20:48:22.000Z", + "completed_at": "2023-11-01T20:48:22.000Z" + } + ], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267316", + "labels": ["ubuntu-22.04"], + "runner_id": 3, + "runner_name": "GitHub Actions 3", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/18.json b/cypress/fixtures/github/push/personal-account/18.json new file mode 100644 index 00000000..bc8875f1 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/18.json @@ -0,0 +1,245 @@ +{ + "headers": { + "x-real-ip": "140.82.115.103", + "x-forwarded-for": "140.82.115.103", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "workflow_job": { + "id": 18278267132, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4_A", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267132", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267132", + "status": "completed", + "conclusion": "success", + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:41Z", + "completed_at": "2023-11-01T20:48:26Z", + "name": "build (8.0)", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2023-11-01T20:47:41.000Z", + "completed_at": "2023-11-01T20:47:42.000Z" + }, + { + "name": "Checkout the codebase", + "status": "completed", + "conclusion": "success", + "number": 2, + "started_at": "2023-11-01T20:47:42.000Z", + "completed_at": "2023-11-01T20:47:43.000Z" + }, + { + "name": "Build the container for testing", + "status": "completed", + "conclusion": "success", + "number": 3, + "started_at": "2023-11-01T20:47:43.000Z", + "completed_at": "2023-11-01T20:47:48.000Z" + }, + { + "name": "Start the container", + "status": "completed", + "conclusion": "success", + "number": 4, + "started_at": "2023-11-01T20:47:48.000Z", + "completed_at": "2023-11-01T20:47:58.000Z" + }, + { + "name": "Test the container", + "status": "completed", + "conclusion": "success", + "number": 5, + "started_at": "2023-11-01T20:47:58.000Z", + "completed_at": "2023-11-01T20:48:08.000Z" + }, + { + "name": "Login to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 6, + "started_at": "2023-11-01T20:48:08.000Z", + "completed_at": "2023-11-01T20:48:09.000Z" + }, + { + "name": "Build multi-arch and push the container to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 7, + "started_at": "2023-11-01T20:48:10.000Z", + "completed_at": "2023-11-01T20:48:23.000Z" + }, + { + "name": "Post Login to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 13, + "started_at": "2023-11-01T20:48:24.000Z", + "completed_at": "2023-11-01T20:48:24.000Z" + }, + { + "name": "Post Checkout the codebase", + "status": "completed", + "conclusion": "success", + "number": 14, + "started_at": "2023-11-01T20:48:24.000Z", + "completed_at": "2023-11-01T20:48:24.000Z" + }, + { + "name": "Complete job", + "status": "completed", + "conclusion": "success", + "number": 15, + "started_at": "2023-11-01T20:48:24.000Z", + "completed_at": "2023-11-01T20:48:24.000Z" + } + ], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267132", + "labels": ["ubuntu-22.04"], + "runner_id": 4, + "runner_name": "GitHub Actions 4", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/19.json b/cypress/fixtures/github/push/personal-account/19.json new file mode 100644 index 00000000..095fa067 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/19.json @@ -0,0 +1,345 @@ +{ + "headers": { + "x-real-ip": "140.82.115.119", + "x-forwarded-for": "140.82.115.119", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_run", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "check_run": { + "id": 18278267132, + "name": "build (8.0)", + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4_A", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "external_id": "6c377c99-53c9-5609-5f16-7e8b5ae95ce6", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267132", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267132", + "details_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267132", + "status": "completed", + "conclusion": "success", + "started_at": "2023-11-01T20:47:41Z", + "completed_at": "2023-11-01T20:48:26Z", + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267132/annotations" + }, + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "in_progress", + "conclusion": null, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:47:42Z" + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "pull_requests": [] + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/2.json b/cypress/fixtures/github/push/personal-account/2.json new file mode 100644 index 00000000..0ef79850 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/2.json @@ -0,0 +1,345 @@ +{ + "headers": { + "x-real-ip": "140.82.115.62", + "x-forwarded-for": "140.82.115.62", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_run", + "content-type": "application/json" + }, + "body": { + "action": "created", + "check_run": { + "id": 18278266895, + "name": "build (7.4)", + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4Dw", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "external_id": "82a1ef20-ae48-5a48-638a-560bb9e4342b", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278266895", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278266895", + "details_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278266895", + "status": "queued", + "conclusion": null, + "started_at": "2023-11-01T20:47:34Z", + "completed_at": null, + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278266895/annotations" + }, + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "queued", + "conclusion": null, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:47:33Z" + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "pull_requests": [] + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/20.json b/cypress/fixtures/github/push/personal-account/20.json new file mode 100644 index 00000000..4acc8c99 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/20.json @@ -0,0 +1,256 @@ +{ + "headers": { + "x-real-ip": "140.82.115.56", + "x-forwarded-for": "140.82.115.56", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_suite", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "completed", + "conclusion": "success", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:48:29Z", + "rerequestable": true, + "runs_rerequestable": false, + "latest_check_runs_count": 4, + "check_runs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610/check-runs", + "head_commit": { + "id": "12d51e978990309ca69884d574f4aa5538739a8c", + "tree_id": "d0a46f20283ee57f90ca5bc9e7f03e39c78fba3c", + "message": "Remove the Alpine Edge build of PHP 8.2", + "timestamp": "2023-11-01T11:26:01Z", + "author": { + "name": "Stefan van Essen", + "email": "git@stefan-van-essen.nl" + }, + "committer": { + "name": "Stefan van Essen", + "email": "git@stefan-van-essen.nl" + } + } + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/21.json b/cypress/fixtures/github/push/personal-account/21.json new file mode 100644 index 00000000..53d94ac9 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/21.json @@ -0,0 +1,345 @@ +{ + "headers": { + "x-real-ip": "140.82.115.240", + "x-forwarded-for": "140.82.115.240", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_run", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "check_run": { + "id": 18278267514, + "name": "build (8.2)", + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg6eg", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "external_id": "07f7877c-dc9b-51de-9c4a-e823324f8276", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267514", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267514", + "details_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267514", + "status": "completed", + "conclusion": "success", + "started_at": "2023-11-01T20:47:41Z", + "completed_at": "2023-11-01T20:48:27Z", + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267514/annotations" + }, + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "completed", + "conclusion": "success", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:48:29Z" + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "pull_requests": [] + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/22.json b/cypress/fixtures/github/push/personal-account/22.json new file mode 100644 index 00000000..40e38a78 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/22.json @@ -0,0 +1,245 @@ +{ + "headers": { + "x-real-ip": "140.82.115.109", + "x-forwarded-for": "140.82.115.109", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "workflow_job": { + "id": 18278267514, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg6eg", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267514", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267514", + "status": "completed", + "conclusion": "success", + "created_at": "2023-11-01T20:47:35Z", + "started_at": "2023-11-01T20:47:41Z", + "completed_at": "2023-11-01T20:48:27Z", + "name": "build (8.2)", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": "2023-11-01T20:47:41.000Z" + }, + { + "name": "Checkout the codebase", + "status": "completed", + "conclusion": "success", + "number": 2, + "started_at": "2023-11-01T20:47:41.000Z", + "completed_at": "2023-11-01T20:47:42.000Z" + }, + { + "name": "Build the container for testing", + "status": "completed", + "conclusion": "success", + "number": 3, + "started_at": "2023-11-01T20:47:42.000Z", + "completed_at": "2023-11-01T20:47:47.000Z" + }, + { + "name": "Start the container", + "status": "completed", + "conclusion": "success", + "number": 4, + "started_at": "2023-11-01T20:47:47.000Z", + "completed_at": "2023-11-01T20:47:57.000Z" + }, + { + "name": "Test the container", + "status": "completed", + "conclusion": "success", + "number": 5, + "started_at": "2023-11-01T20:47:57.000Z", + "completed_at": "2023-11-01T20:48:07.000Z" + }, + { + "name": "Login to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 6, + "started_at": "2023-11-01T20:48:07.000Z", + "completed_at": "2023-11-01T20:48:08.000Z" + }, + { + "name": "Build multi-arch and push the container to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 7, + "started_at": "2023-11-01T20:48:08.000Z", + "completed_at": "2023-11-01T20:48:25.000Z" + }, + { + "name": "Post Login to Docker Hub", + "status": "completed", + "conclusion": "success", + "number": 13, + "started_at": "2023-11-01T20:48:25.000Z", + "completed_at": "2023-11-01T20:48:25.000Z" + }, + { + "name": "Post Checkout the codebase", + "status": "completed", + "conclusion": "success", + "number": 14, + "started_at": "2023-11-01T20:48:25.000Z", + "completed_at": "2023-11-01T20:48:25.000Z" + }, + { + "name": "Complete job", + "status": "completed", + "conclusion": "success", + "number": 15, + "started_at": "2023-11-01T20:48:25.000Z", + "completed_at": "2023-11-01T20:48:25.000Z" + } + ], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267514", + "labels": ["ubuntu-22.04"], + "runner_id": 5, + "runner_name": "GitHub Actions 5", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/23.json b/cypress/fixtures/github/push/personal-account/23.json new file mode 100644 index 00000000..db36a0f5 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/23.json @@ -0,0 +1,371 @@ +{ + "headers": { + "x-real-ip": "140.82.115.157", + "x-forwarded-for": "140.82.115.157", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_run", + "content-type": "application/json" + }, + "body": { + "action": "completed", + "workflow_run": { + "id": 6719072501, + "name": "Build containers", + "node_id": "WFR_kwLOBWl8Bs8AAAABkHzo9Q", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "path": ".github/workflows/build-containers.yml", + "display_title": "Remove the Alpine Edge build of PHP 8.2", + "run_number": 1089, + "event": "push", + "status": "completed", + "conclusion": "success", + "workflow_id": 5412238, + "check_suite_id": 17814420610, + "check_suite_node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "pull_requests": [], + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:48:29Z", + "actor": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "run_attempt": 3, + "referenced_workflows": [], + "run_started_at": "2023-11-01T20:47:32Z", + "triggering_actor": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "jobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/jobs", + "logs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/logs", + "check_suite_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "artifacts_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/artifacts", + "cancel_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/cancel", + "rerun_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/rerun", + "previous_attempt_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501/attempts/2", + "workflow_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/workflows/5412238", + "head_commit": { + "id": "12d51e978990309ca69884d574f4aa5538739a8c", + "tree_id": "d0a46f20283ee57f90ca5bc9e7f03e39c78fba3c", + "message": "Remove the Alpine Edge build of PHP 8.2", + "timestamp": "2023-11-01T11:26:01Z", + "author": { + "name": "Stefan van Essen", + "email": "git@stefan-van-essen.nl" + }, + "committer": { + "name": "Stefan van Essen", + "email": "git@stefan-van-essen.nl" + } + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments" + }, + "head_repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments" + } + }, + "workflow": { + "id": 5412238, + "node_id": "MDg6V29ya2Zsb3c1NDEyMjM4", + "name": "Build containers", + "path": ".github/workflows/build-containers.yml", + "state": "active", + "created_at": "2021-01-29T20:16:55.000Z", + "updated_at": "2023-03-14T12:03:02.000Z", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/workflows/5412238", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/blob/master/.github/workflows/build-containers.yml", + "badge_url": "https://github.com/eXistenZNL/Docker-Webstack/workflows/Build%20containers/badge.svg" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/3.json b/cypress/fixtures/github/push/personal-account/3.json new file mode 100644 index 00000000..8aa22b74 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/3.json @@ -0,0 +1,345 @@ +{ + "headers": { + "x-real-ip": "140.82.115.250", + "x-forwarded-for": "140.82.115.250", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_run", + "content-type": "application/json" + }, + "body": { + "action": "created", + "check_run": { + "id": 18278267132, + "name": "build (8.0)", + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4_A", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "external_id": "6c377c99-53c9-5609-5f16-7e8b5ae95ce6", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267132", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267132", + "details_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267132", + "status": "queued", + "conclusion": null, + "started_at": "2023-11-01T20:47:34Z", + "completed_at": null, + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267132/annotations" + }, + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "queued", + "conclusion": null, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:47:33Z" + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "pull_requests": [] + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/4.json b/cypress/fixtures/github/push/personal-account/4.json new file mode 100644 index 00000000..ef425470 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/4.json @@ -0,0 +1,164 @@ +{ + "headers": { + "x-real-ip": "140.82.115.62", + "x-forwarded-for": "140.82.115.62", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "queued", + "workflow_job": { + "id": 18278267132, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4_A", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267132", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267132", + "status": "queued", + "conclusion": null, + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:34Z", + "completed_at": null, + "name": "build (8.0)", + "steps": [], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267132", + "labels": ["ubuntu-22.04"], + "runner_id": null, + "runner_name": null, + "runner_group_id": null, + "runner_group_name": null + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/5.json b/cypress/fixtures/github/push/personal-account/5.json new file mode 100644 index 00000000..ddcc910f --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/5.json @@ -0,0 +1,164 @@ +{ + "headers": { + "x-real-ip": "140.82.115.112", + "x-forwarded-for": "140.82.115.112", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "queued", + "workflow_job": { + "id": 18278267316, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg5tA", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267316", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267316", + "status": "queued", + "conclusion": null, + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:34Z", + "completed_at": null, + "name": "build (8.1)", + "steps": [], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267316", + "labels": ["ubuntu-22.04"], + "runner_id": null, + "runner_name": null, + "runner_group_id": null, + "runner_group_name": null + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/6.json b/cypress/fixtures/github/push/personal-account/6.json new file mode 100644 index 00000000..762601f3 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/6.json @@ -0,0 +1,345 @@ +{ + "headers": { + "x-real-ip": "140.82.115.151", + "x-forwarded-for": "140.82.115.151", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_run", + "content-type": "application/json" + }, + "body": { + "action": "created", + "check_run": { + "id": 18278267316, + "name": "build (8.1)", + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg5tA", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "external_id": "173dc28d-16b7-5be4-d0fc-6c83c4c80297", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267316", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267316", + "details_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267316", + "status": "queued", + "conclusion": null, + "started_at": "2023-11-01T20:47:34Z", + "completed_at": null, + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267316/annotations" + }, + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "queued", + "conclusion": null, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:47:33Z" + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "pull_requests": [] + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/7.json b/cypress/fixtures/github/push/personal-account/7.json new file mode 100644 index 00000000..f3171018 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/7.json @@ -0,0 +1,164 @@ +{ + "headers": { + "x-real-ip": "140.82.115.250", + "x-forwarded-for": "140.82.115.250", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "queued", + "workflow_job": { + "id": 18278267514, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg6eg", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278267514", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267514", + "status": "queued", + "conclusion": null, + "created_at": "2023-11-01T20:47:35Z", + "started_at": "2023-11-01T20:47:35Z", + "completed_at": null, + "name": "build (8.2)", + "steps": [], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267514", + "labels": ["ubuntu-22.04"], + "runner_id": null, + "runner_name": null, + "runner_group_id": null, + "runner_group_name": null + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/8.json b/cypress/fixtures/github/push/personal-account/8.json new file mode 100644 index 00000000..24908799 --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/8.json @@ -0,0 +1,345 @@ +{ + "headers": { + "x-real-ip": "140.82.115.35", + "x-forwarded-for": "140.82.115.35", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "check_run", + "content-type": "application/json" + }, + "body": { + "action": "created", + "check_run": { + "id": 18278267514, + "name": "build (8.2)", + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg6eg", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "external_id": "07f7877c-dc9b-51de-9c4a-e823324f8276", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267514", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267514", + "details_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278267514", + "status": "queued", + "conclusion": null, + "started_at": "2023-11-01T20:47:35Z", + "completed_at": null, + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278267514/annotations" + }, + "check_suite": { + "id": 17814420610, + "node_id": "CS_kwDOBWl8Bs8AAAAEJdJ8gg", + "head_branch": "master", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "status": "queued", + "conclusion": null, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-suites/17814420610", + "before": "0468af29822e6e4493fb7250eefd52c676f71de5", + "after": "12d51e978990309ca69884d574f4aa5538739a8c", + "pull_requests": [], + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "created_at": "2023-11-01T11:26:06Z", + "updated_at": "2023-11-01T20:47:33Z" + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "administration": "read", + "checks": "write", + "contents": "write", + "deployments": "write", + "discussions": "write", + "issues": "write", + "merge_queues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "security_events": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "merge_group", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch", + "workflow_dispatch", + "workflow_run" + ] + }, + "pull_requests": [] + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/fixtures/github/push/personal-account/9.json b/cypress/fixtures/github/push/personal-account/9.json new file mode 100644 index 00000000..1526830c --- /dev/null +++ b/cypress/fixtures/github/push/personal-account/9.json @@ -0,0 +1,229 @@ +{ + "headers": { + "x-real-ip": "140.82.115.94", + "x-forwarded-for": "140.82.115.94", + "x-forwarded-host": "ci.monit.or", + "user-agent": "GitHub-Hookshot/a4fc50e", + "x-github-event": "workflow_job", + "content-type": "application/json" + }, + "body": { + "action": "in_progress", + "workflow_job": { + "id": 18278266895, + "run_id": 6719072501, + "workflow_name": "Build containers", + "head_branch": "master", + "run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/runs/6719072501", + "run_attempt": 3, + "node_id": "CR_kwDOBWl8Bs8AAAAEQXg4Dw", + "head_sha": "12d51e978990309ca69884d574f4aa5538739a8c", + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/actions/jobs/18278266895", + "html_url": "https://github.com/eXistenZNL/Docker-Webstack/actions/runs/6719072501/job/18278266895", + "status": "in_progress", + "conclusion": null, + "created_at": "2023-11-01T20:47:34Z", + "started_at": "2023-11-01T20:47:39Z", + "completed_at": null, + "name": "build (7.4)", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2023-11-01T20:47:39.000Z", + "completed_at": "2023-11-01T20:47:40.000Z" + }, + { + "name": "Checkout the codebase", + "status": "in_progress", + "conclusion": null, + "number": 2, + "started_at": "2023-11-01T20:47:40.000Z", + "completed_at": null + }, + { + "name": "Build the container for testing", + "status": "queued", + "conclusion": null, + "number": 3, + "started_at": null, + "completed_at": null + }, + { + "name": "Start the container", + "status": "queued", + "conclusion": null, + "number": 4, + "started_at": null, + "completed_at": null + }, + { + "name": "Test the container", + "status": "queued", + "conclusion": null, + "number": 5, + "started_at": null, + "completed_at": null + }, + { + "name": "Login to Docker Hub", + "status": "queued", + "conclusion": null, + "number": 6, + "started_at": null, + "completed_at": null + }, + { + "name": "Build multi-arch and push the container to Docker Hub", + "status": "queued", + "conclusion": null, + "number": 7, + "started_at": null, + "completed_at": null + }, + { + "name": "Post Checkout the codebase", + "status": "queued", + "conclusion": null, + "number": 14, + "started_at": null, + "completed_at": null + } + ], + "check_run_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/check-runs/18278266895", + "labels": ["ubuntu-22.04"], + "runner_id": 2, + "runner_name": "GitHub Actions 2", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 90799110, + "node_id": "MDEwOlJlcG9zaXRvcnk5MDc5OTExMA==", + "name": "Docker-Webstack", + "full_name": "eXistenZNL/Docker-Webstack", + "private": false, + "owner": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/eXistenZNL/Docker-Webstack", + "description": "A webstack container built on Alpine, running Nginx, PHP, and S6-overlay.", + "fork": false, + "url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack", + "forks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/forks", + "keys_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/teams", + "hooks_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/hooks", + "issue_events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/events{/number}", + "events_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/events", + "assignees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/assignees{/user}", + "branches_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/branches{/branch}", + "tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/tags", + "blobs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/statuses/{sha}", + "languages_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/languages", + "stargazers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/stargazers", + "contributors_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contributors", + "subscribers_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscribers", + "subscription_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/subscription", + "commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/contents/{+path}", + "compare_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/merges", + "archive_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/downloads", + "issues_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/issues{/number}", + "pulls_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/pulls{/number}", + "milestones_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/milestones{/number}", + "notifications_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/labels{/name}", + "releases_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/releases{/id}", + "deployments_url": "https://api.github.com/repos/eXistenZNL/Docker-Webstack/deployments", + "created_at": "2017-05-09T22:56:23Z", + "updated_at": "2023-10-17T10:21:20Z", + "pushed_at": "2023-11-01T11:26:04Z", + "git_url": "git://github.com/eXistenZNL/Docker-Webstack.git", + "ssh_url": "git@github.com:eXistenZNL/Docker-Webstack.git", + "clone_url": "https://github.com/eXistenZNL/Docker-Webstack.git", + "svn_url": "https://github.com/eXistenZNL/Docker-Webstack", + "homepage": "", + "size": 78, + "stargazers_count": 88, + "watchers_count": 88, + "language": "Roff", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 30, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": ["alpine-linux", "docker", "nginx", "php", "s6-overlay"], + "visibility": "public", + "forks": 30, + "open_issues": 3, + "watchers": 88, + "default_branch": "master" + }, + "sender": { + "login": "eXistenZNL", + "id": 1150201, + "node_id": "MDQ6VXNlcjExNTAyMDE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1150201?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/eXistenZNL", + "html_url": "https://github.com/eXistenZNL", + "followers_url": "https://api.github.com/users/eXistenZNL/followers", + "following_url": "https://api.github.com/users/eXistenZNL/following{/other_user}", + "gists_url": "https://api.github.com/users/eXistenZNL/gists{/gist_id}", + "starred_url": "https://api.github.com/users/eXistenZNL/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/eXistenZNL/subscriptions", + "organizations_url": "https://api.github.com/users/eXistenZNL/orgs", + "repos_url": "https://api.github.com/users/eXistenZNL/repos", + "events_url": "https://api.github.com/users/eXistenZNL/events{/privacy}", + "received_events_url": "https://api.github.com/users/eXistenZNL/received_events", + "type": "User", + "site_admin": false + } + } +} diff --git a/cypress/integration/github/pull-request.spec.js b/cypress/integration/github/pull-request.spec.js index 359f6e12..a9dc90b6 100644 --- a/cypress/integration/github/pull-request.spec.js +++ b/cypress/integration/github/pull-request.spec.js @@ -1,23 +1,23 @@ /// context('A running GitHub pull-request push', () => { - it('opens the CIMonitor dashboard', () => { - cy.visit('/'); - }); + it('opens the CIMonitor dashboard', () => { + cy.visit('/'); + }); - it('creates a pull request with action flow', () => { - for (let count = 1; count <= 9; count++) { - if (count > 1) { - cy.wait(1000); - } - cy.github(`pull-request/${count}`); - } - }); + it('creates a pull request with action flow', () => { + for (let count = 1; count <= 9; count++) { + if (count > 1) { + cy.wait(300); + } + cy.github(`pull-request/${count}`); + } + }); - it('pushes a new commit', () => { - for (let count = 10; count <= 18; count++) { - cy.wait(1000); - cy.github(`pull-request/${count}`); - } - }); + it('pushes a new commit', () => { + for (let count = 10; count <= 18; count++) { + cy.wait(300); + cy.github(`pull-request/${count}`); + } + }); }); diff --git a/cypress/integration/github/push.spec.js b/cypress/integration/github/push.spec.js index e4787244..656f1ce4 100644 --- a/cypress/integration/github/push.spec.js +++ b/cypress/integration/github/push.spec.js @@ -8,7 +8,7 @@ context('A running GitHub push', () => { it('pushes a GitHub failed action flow', () => { for (let count = 1; count <= 23; count++) { if (count > 1) { - cy.wait(1000); + cy.wait(300); } cy.github(`push-failed/${count}`); } @@ -16,12 +16,21 @@ context('A running GitHub push', () => { cy.wait(2000); }); - it('pushes a GitHub successful action flow', () => { + it('pushes a GitHub successful action flow for organisations', () => { for (let count = 1; count <= 41; count++) { if (count > 1) { - cy.wait(1000); + cy.wait(300); } - cy.github(`push/${count}`); + cy.github(`push/organisation/${count}`); + } + }); + + it('pushes a GitHub successful action flow for personal accounts', () => { + for (let count = 1; count <= 23; count++) { + if (count > 1) { + cy.wait(300); + } + cy.github(`push/personal-account/${count}`); } }); }); diff --git a/cypress/integration/github/release.spec.js b/cypress/integration/github/release.spec.js index fbdc1e01..470b7515 100644 --- a/cypress/integration/github/release.spec.js +++ b/cypress/integration/github/release.spec.js @@ -1,16 +1,16 @@ /// context('A running GitHub release', () => { - it('opens the CIMonitor dashboard', () => { - cy.visit('/'); - }); + it('opens the CIMonitor dashboard', () => { + cy.visit('/'); + }); - it('pushes a GitHub action flow', () => { - for (let count = 1; count <= 18; count++) { - if (count > 1) { - cy.wait(500); - } - cy.github(`release/${count}`); - } - }); + it('pushes a GitHub action flow', () => { + for (let count = 1; count <= 18; count++) { + if (count > 1) { + cy.wait(300); + } + cy.github(`release/${count}`); + } + }); }); diff --git a/types/github.ts b/types/github.ts index 5c4c809a..1c1ab237 100644 --- a/types/github.ts +++ b/types/github.ts @@ -10,6 +10,7 @@ type GitHubRepository = { html_url: string; owner: { name: string; + login: string; id: number; avatar_url: string; }; @@ -50,12 +51,6 @@ type GitHubSender = { html_url: string; }; -type GitHubOrganization = { - login: string; - id: number; - avatar_url: string; -}; - export type GitHubPush = { ref: string; repository: GitHubRepository; @@ -63,7 +58,6 @@ export type GitHubPush = { name: string; email: string; }; - organization: GitHubOrganization; sender: GitHubSender; }; @@ -85,7 +79,6 @@ export type GitHubWorkflowRun = { name: string; }; repository: GitHubRepository; - organization: GitHubOrganization; sender: GitHubSender; }; @@ -105,7 +98,6 @@ export type GitHubPullRequest = { }; }; repository: GitHubRepository; - organization: GitHubOrganization; sender: GitHubSender; }; @@ -134,6 +126,5 @@ export type GitHubWorkflowJob = { steps: GitHubStep[]; }; repository: GitHubRepository; - organization: GitHubOrganization; sender: GitHubSender; };