Create an API Token
Create an API token to authenticate the record-release action with the Ops Dashboard.
Steps
- Go to ops.groo.dev
- Navigate to your application
- Click "Tokens" tab
- Click "Create Token"
- Select permission level:
- Read: Can only query version information
- Write: Can record deployments and query versions
- Copy the generated token (starts with
groo_)
Save Your Token
The token is only shown once. Make sure to copy it before closing the dialog.
Add to GitHub Secrets
- Go to your GitHub repository
- Navigate to Settings → Secrets and variables → Actions
- Click "New repository secret"
- Name:
OPS_API_TOKEN - Value: Paste your token
- Click "Add secret"
Using the Token
Reference the secret in your workflow:
- uses: groo-dev/record-release@v1
with:
token: ${{ secrets.OPS_API_TOKEN }}
environment: production
bump: patch