Hourly Aggregation #1279
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Hourly Aggregation | |
| on: | |
| schedule: | |
| - cron: "0 * * * *" # Every hour | |
| workflow_dispatch: | |
| jobs: | |
| aggregate: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: true | |
| - name: Probe + aggregate (12 samples) | |
| run: ./scripts/aggregate-uptime.sh | |
| - name: Commit hourly metrics | |
| run: | | |
| git config user.name "metrics-bot" | |
| git config user.email "metrics@github.com" | |
| git add status/hourly.ndjson | |
| git commit -m "chore: hourly availability + latency" | |
| git push |