Skip to content

Commit 196ee07

Browse files
authored
Merge branch 'kata-containers:main' into main
2 parents 970416a + 054713a commit 196ee07

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
schedule:
55
- cron: '0 4 * * *'
66
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- 'scripts/fetch-ci-nightly-data.js'
12+
- '.github/workflows/fetch-ci-nightly-data.yaml'
713

814
jobs:
915
fetch-and-commit-data:
@@ -13,6 +19,9 @@ jobs:
1319
- name: Checkout
1420
uses: actions/checkout@v4
1521
- name: Update dashboard data
22+
# Use bash to fail fast:
23+
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
24+
shell: bash
1625
run: |
1726
# fetch ci nightly data as temporary file
1827
node scripts/fetch-ci-nightly-data.js | tee tmp-data.json

pages/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { useEffect, useState } from "react";
22
import { DataTable } from "primereact/datatable";
33
import { Column } from "primereact/column";
4+
import Head from "next/head";
45
import { weatherTemplate, getWeatherIndex } from "../components/weatherTemplate";
56

67

@@ -156,6 +157,10 @@ export default function Home() {
156157

157158
return (
158159
<div className="text-center">
160+
<Head>
161+
<title>Kata CI Dashboard</title>
162+
</Head>
163+
159164
<h1
160165
className={
161166
"text-4xl mt-4 mb-0 underline text-inherit hover:text-blue-500"

0 commit comments

Comments
 (0)