1
Add Repository Secret
Your repo → Settings → Secrets → Actions → New secretName:
GARNET_API_TOKEN2
Create Workflow File
3
Verify
Push a commit. Agent appears at dashboard.garnet.ai within seconds.
Configuration
| Name | Description | Required | Default |
|---|---|---|---|
api_token | API token from GarnetAI | Yes | - |
debug | Enable detailed debug output | No | false |
How It Works
Pull Request Checks
If configured, Garnet automatically comments on your pull requests with security findings. See Alerts for details.Detections

Troubleshooting
Verify API token
Verify API token
Ensure it has the proper permissions.
Check sudo access
Check sudo access
The runner requires sudo to install the systemd service.
Check logs
Check logs
Review GitHub Actions output for detailed status.