Skip to content

Commit 1a0788c

Browse files
committed
Merge branch 'main' of github.com:a1icja/kata-containers.github.io
2 parents 5e294b7 + d30a281 commit 1a0788c

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Reference: https://github.com/actions/starter-workflows/blob/main/pages/nextjs.yml
2+
13
# Sample workflow for building and deploying a Next.js site to GitHub Pages
24
#
35
# To get started with Next.js see: https://nextjs.org/docs/getting-started

.github/workflows/fetch-ci-nightly-data.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
schedule:
55
- cron: '0 4 * * *'
66
workflow_dispatch:
7-
# push:
8-
# branches:
9-
# - main
107

118
jobs:
129
fetch-and-commit-data:

scripts/fetch-ci-nightly-data.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ function get_check_data(pr) {
178178
}
179179
return fetch_checks_by_page(p)
180180
.then(function (checks_request) {
181-
// console.log('checks_request', checks_request);
182181
for (const check of checks_request["check_runs"]) {
183182
// NOTE: For now, excluding checks that are not also run in CI Nightly
184183
if (job_names.has(check["name"])) {
@@ -204,7 +203,6 @@ function get_check_data(pr) {
204203
html_url: pr["html_url"], // link to PR page
205204
number: pr["number"], // PR number (used as PR id); displayed on dashboard
206205
commit_sha: pr["head"]["sha"], // For getting checks run on PR branch
207-
// commit_sha: pr["merge_commit_sha"], // For getting checks run on main branch after merge
208206
// NOTE: using for now b/c we'll be linking to the PR page, where these checks are listed...
209207
checks: [], // will be populated later with fetch_checks
210208
};
@@ -215,7 +213,6 @@ function get_check_data(pr) {
215213
// Extract list of required jobs (i.e. main branch details: protection: required_status_checks: contexts)
216214
function get_required_jobs(main_branch) {
217215
const required_jobs = main_branch["protection"]["required_status_checks"]["contexts"];
218-
// console.log('required jobs: ', required_jobs);
219216
return required_jobs;
220217
}
221218

@@ -319,7 +316,6 @@ async function main() {
319316

320317
// Write the job_stats to console as a JSON object
321318
console.log(JSON.stringify(job_stats));
322-
// console.log(JSON.stringify(required_jobs));
323319
}
324320

325321

0 commit comments

Comments
 (0)