mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
760 B
YAML
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}"
|