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}"