Trigger DoableAI regression runs from GitHub Actions.
name: Trigger DoableAI Scheduled
on:
workflow_dispatch:
push:
branches: [main]
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger DoableAI group run
uses: getdoable/run-test-action@v1.1.0
with:
api-key: ${{ secrets.DOABLEAI_API_KEY }}
group-public-id: tg-gqxhqski
wait-for-completion: trueapi-key(required): DoableAI API key created in DoableAI Settings -> API Keys.group-public-id(required): Scheduled group public id (for example:tg-xxxx).lookup-latest-only:true/false, defaultfalse. Whentrue, do not trigger new run; fetch latest run result forgroup-public-id.idempotency-key: Optional dedupe key. If omitted, action auto-generates one from GitHub context.wait-for-completion:true/false, defaulttrue. Whentrue, action polls until terminal result.poll-interval-seconds: Poll interval while waiting, default20.timeout-seconds: Max wait time, default1800.
status: Action lifecycle status (accepted,completed,timeout).outcome: Execution outcome (pending,passed,failed,cancelled,timeout).outcome-link: URL of the DoableAI run result page.
- First request with a key usually creates a new execution.
- Repeated request with the same key returns the existing execution.
This lets CI safely retry without creating duplicate runs.
- name: Trigger and wait for DoableAI result
uses: getdoable/run-test-action@v1.1.0
with:
api-key: ${{ secrets.DOABLEAI_API_KEY }}
group-public-id: tg-gqxhqski
wait-for-completion: true
poll-interval-seconds: 20
timeout-seconds: 1800When final outcome is not passed, this step fails to make CI status visible in GitHub checks.
- name: Fetch latest DoableAI group result only
uses: getdoable/run-test-action@v1.1.0
with:
api-key: ${{ secrets.DOABLEAI_API_KEY }}
group-public-id: tg-gqxhqski
lookup-latest-only: true
wait-for-completion: falseThis mode only reads the latest run result for the group and never creates a new execution.
This repository includes ./.github/workflows/e2e-smoke.yml for end-to-end verification in GitHub Actions.
Configure GitHub Actions config before running it:
- Secret:
DOABLEAI_API_KEY - Repository variable:
DOABLEAI_GROUP_PUBLIC_ID
After each smoke run, check:
- job result (success/failure)
- step outputs
GITHUB_STEP_SUMMARY(human-readable test result)