Cut time-to-merge in half by using Exponent with GitHub Actions
EXPONENT_API_KEY
. Basic instructions below, or detailed steps here
EXPONENT_API_KEY
and paste your API key as the valuerepo
and workflow
scopes by following the instructions here
EXPONENT_API_KEY
secret, but naming your secret GITHUB_TOKEN
.
.github/workflows/typecheck-with-autofix.yml
with the following content, or add the relevant commented steps to an existing typechecking workflow:
.github/workflows/exponent-pr-review.yml
, to run automated code reviews on all your PRs:
Less Effective Prompt: “Fix database queries”
More Effective Prompt: “Analyze the database queries in this code and provide specific recommendations for improving performance. Check for N+1 queries, missing indexes, and inefficient joins. Reference our query optimization guide at docs/database/performance.md”
--depth
parameter: Controls the number of steps Exponent can take (typically 10-15, depending on the complexity of your tasks)--autorun
flag: Enables unattended execution—essential for CI environments--headless
flag: Optimizes for non-interactive environments