Skip to main content
1

Add Repository Secret

Your repo → SettingsSecretsActionsNew secretName: GARNET_API_TOKEN
2

Create Workflow File

name: Garnet CI Monitoring 

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  monitor:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Add Garnet Monitor
        uses: garnet-org/action@v1
        with:
          api_token: ${{ secrets.GARNET_API_TOKEN }}
3

Verify

Push a commit. Agent appears at dashboard.garnet.ai within seconds.