spawn/.github/workflows/qa.yml
A b2bddc4ba5
ci: bump QA cron from daily to every 4 hours (#1895)
Co-authored-by: spawn-qa-bot <qa@openrouter.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 16:46:55 -08:00

29 lines
760 B
YAML

name: QA
on:
schedule:
- cron: '0 */4 * * *'
workflow_dispatch:
inputs:
reason:
description: 'QA mode to trigger'
required: false
default: 'schedule'
type: choice
options:
- schedule
- e2e
- fixtures
jobs:
trigger:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Trigger QA cycle
env:
SPRITE_URL: ${{ secrets.QA_SPRITE_URL }}
TRIGGER_SECRET: ${{ secrets.QA_TRIGGER_SECRET }}
run: |
REASON="${{ github.event.inputs.reason || 'schedule' }}"
curl -sS --fail-with-body -X POST \
"${SPRITE_URL}/trigger?reason=${REASON}" \
-H "Authorization: Bearer ${TRIGGER_SECRET}"