What you’ll build
You’ll create a workflow with two jobs:checks and review. The checks job runs npm ci && npm test to validate the codebase on every push. The review job declares needs: checks, meaning it only starts once checks succeeds, and uses an agent step that reads the repository and flags likely bugs and missing tests — mechanical validation and an agent review, in one workflow that lives with your code.
The workflow file
Create the following file at.shipfox/workflows/checks-on-push.yml in your repository:
triggers block tells Shipfox to fire this workflow on every GitHub push. The review job’s needs: checks declaration creates a dependency edge — if checks fails, review is skipped automatically.
Deploy it
Follow these steps to get the workflow running:- Create the directory and file in your repository:
.shipfox/workflows/checks-on-push.yml. - Paste the YAML above into the file.
- Commit the file and push to GitHub.
Push triggers require a GitHub repository connected to your Shipfox project.
GitLab is on the roadmap — use
source: manual, event: fire if your repo is
on GitLab.Parallel checks
When lint and tests are independent, running them in parallel cuts wall-clock time. Splitchecks into independent lint and test jobs that both start immediately, then fan in to the review job once both finish:
lint and test install dependencies independently. The review job waits for both to finish before the agent step executes.
Next steps
- Multi-Job Pipeline — learn more about sequencing and fan-out patterns.
- Agent Steps — configure models, thinking levels, and providers.