molecule-ai-status/.github/workflows/response-time.yml
Hongming Wang 2d4048b088 fix(ci): add actions/checkout to all 5 Upptime workflows
The Upptime action reads .upptimerc.yml from the current working
directory; without an explicit checkout step the runner starts in an
empty dir and every run fails with ENOENT. Adding actions/checkout@v4
with fetch-depth: 0 (full history required by the commit-back step)
as the first step of each workflow.

Observed on the initial-commit runs of uptime.yml + static-site.yml
which both failed with:
  ERROR [Error: ENOENT: no such file or directory, open '.upptimerc.yml']
2026-04-15 14:22:55 -07:00

28 lines
652 B
YAML

name: Response Time CI
on:
repository_dispatch:
types: [response-time]
schedule:
# Hourly is enough for response-time histograms — the uptime
# workflow already captures short-term latency in each check.
- cron: "0 * * * *"
workflow_dispatch:
jobs:
release:
name: Update response time graphs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: upptime/uptime-monitor@master
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT || secrets.GITHUB_TOKEN }}
permissions:
contents: write
issues: write