Skip to content

Status Checks

Status Checks #5480

Workflow file for this run

name: Status Checks
on:
schedule:
- cron: '*/10 * * * *' # Run every 10 minutes
workflow_dispatch: # Allow manual triggers
jobs:
check-and-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Full history for accurate logs
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run checks and update logs
run: bun run scripts/run-checks-and-write-log.ts
- name: Generate README
run: bun run scripts/generate-readme.ts
- name: Build status site
run: bun run scripts/generate-site.tsx
- name: Configure Git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "[email protected]"
- name: Commit and push if changes
run: |
git add -A
timestamp=$(date -u)
git commit -m "Auto Update: ${timestamp}" || exit 0
git push