Prerequisites: SSH access to a build server, GitHub personal access token with
repo scope.
Build a CI failure workflow from template #114: run a remote build via SSH and file a GitHub issue automatically when the build fails.
What this template does
- Trigger Build — manual start (or add cron/webhook).
- Run Build — SSH command on build server.
- Build OK? — checks
exitCode == 0. - File Bug on GitHub — creates issue with stderr/stdout on failure.
Step 1 — Load the template
- Studio → Templates → search
GitHub Issue Build Failure. - Load template #114.
Step 2 — SSH build
- Set host, username, and credentials in Run Build.
- Update the build command for your stack (e.g.
npm run build,dotnet build).
Step 3 — GitHub
- Configure owner, repo, token, title, body, and labels in File Bug on GitHub.
- Include
{{exitCode}}and{{output}}in the issue body.
Step 4 — Trigger options
Replace Manual start with Cron Schedule for nightly builds or a Webhook from your CI system.
Related tutorials
- Error to Jira Ticket — health-check alerting.
- Schedule a Nightly Job — cron triggers.