Skip to content

Commit df17116

Browse files
authored
Merge branch 'main' into pr-view
2 parents b86ba42 + 054713a commit df17116

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

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

+9
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

+4-1
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

@@ -243,7 +244,9 @@ useEffect(() => {
243244
return (
244245
<>
245246

246-
<title>Kata CI Dashboard</title>
247+
<Head>
248+
<title>Kata CI Dashboard</title>
249+
</Head>
247250
<div className="text-center text-xs md:text-base">
248251
<h1 className={"text-4xl mt-4 ml-4 mb-6 underline text-inherit \
249252
hover:text-blue-500"}>

0 commit comments

Comments
 (0)