Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.47 KB

File metadata and controls

44 lines (35 loc) · 2.47 KB

Upstream and supply-chain policy

This repository was created from the public Upptime template on 2026-08-11.

Why automatic template updates are disabled

The upstream template normally runs code from moving tags/branches and rewrites its own workflows. That is convenient, but it bypasses review and weakens the status page's integrity. Mighty instead:

  1. pins every GitHub Action and the static-site source to full commit SHAs;
  2. builds the site with the upstream release's committed package-lock.json;
  3. patches the old static client to read Mighty’s main branch and removes its optional pre-rendered PNG graph dependency (history charts still render from Git commits in the browser);
  4. passes no monitor credentials (secrets: []) and stores no long-lived automation token;
  5. uses GitHub’s short-lived job token with only Contents/Issues write for the monitor and Contents write for static publication;
  6. reviews upstream changes in a pull request; and
  7. runs ruby scripts/validate.rb plus a no-publish static build before merging.

Upgrade procedure

At least monthly, and promptly after an upstream security advisory:

  1. compare the current template, monitor runtime, and status-page release with the SHAs above;
  2. review source changes, release notes, dependencies, and open advisories;
  3. regenerate only the required Upptime files on a branch;
  4. restore full-SHA pins and least-privilege workflow settings;
  5. run the validator and a test deployment;
  6. merge through normal review; and
  7. update the SHAs and date in this file.

Do not run Upptime's update-template command directly on main.