Skip to content

API Health Checks (Uptime) #450

API Health Checks (Uptime)

API Health Checks (Uptime) #450

Workflow file for this run

name: API Health Checks (Uptime)
on:
schedule:
- cron: '0 */2 * * *'
workflow_dispatch:
# Least privilege: checkout only needs to read the repo; the rest is shell + the Slack secret.
permissions:
contents: read
jobs:
probe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Probe endpoints, alert on failure
env:
SLACK_WEBHOOK: ${{ secrets.PATCHER_SLACK_WEBHOOK }}
run: bash .github/scripts/probe.sh