Code · Set up
Set up Code in a repository.
Node 20 or later, git, a repository with a remote, and GitHub Actions.
1
Create your account
Free. Continue with GitHub.
2
Install the command-line tool
npm i -g @gatebolt/cli
3
Sign in
Approve in the browser. No key to copy.
gatebolt login
4
Set up the repository
Once per repository. Commit the two files it writes, then start a new Claude Code session so it picks up the hooks.
cd your-repo gatebolt init
5
Add the check to your CI
GitHub Actions today. Create a CI key in your workspace under Code → Settings → Keys, save it as the secret GATEBOLT_KEY, then add:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: npx @gatebolt/cli ci
env:
GATEBOLT_KEY: ${{ secrets.GATEBOLT_KEY }}
GITHUB_TOKEN: ${{ github.token }}Give the job pull-requests: write and it posts the result on the pull request.