Overview
The Bugster GitHub Action sends deployment notifications to Bugster Cloud directly from your GitHub workflows. It uses the same webhook API as our custom integrations but provides a simpler, GitHub-native experience.Bugster.dev GitHub Action
Official GitHub Action available in the GitHub Marketplace
Quick Setup
1
Add Bugster API key to secrets
In your GitHub repository, go to Settings > Secrets and variables > Actions and add:
- Name:
BUGSTER_API_KEY
- Value: Your Bugster API key (from Settings > API Keys in your Bugster dashboard)
Never commit your API key directly to your workflow file. Always use GitHub secrets.
2
Get your project credentials
From your Bugster dashboard, collect:
- Organization ID: Settings > Organization
- Project ID: Project Settings > General
Both values are also available in Project Settings > Integrations for convenience.
3
Add the action to your workflow
Create or update your
.github/workflows
file to include the Bugster action:.github/workflows/deploy.yml
Replace the
organization_id
and project_id
with your actual values from the Bugster dashboard.Action Inputs
Required Parameters
Your Bugster API key. Store this in
secrets.BUGSTER_API_KEY
for security.Your Bugster organization ID from the dashboard.
Your Bugster project ID from the dashboard.
URL where your application is deployed and accessible for testing.
Optional Parameters
Deployment status. Options:
success
, in_progress
, cancelled
, failed
, error
.
Bugster only runs tests when set to success
.Git commit SHA. Automatically filled from GitHub context if not provided.
Git branch name. Automatically filled from GitHub context if not provided.
Base API URL. Useful for testing or custom deployments.
Request timeout in seconds.
Action Outputs
HTTP status code returned by the Bugster API.
Response body returned by the API (truncated for logging).
Common Use Cases
Basic Pull Request Testing
Test every pull request after deployment:.github/workflows/pr-test.yml
Multi-Environment Testing
Test different environments with different configurations:Conditional Testing
Only run tests under specific conditions:.github/workflows/conditional.yml
Deployment State Tracking
Track deployment progress with different states:.github/workflows/deployment-tracking.yml
Integration with Popular Platforms
Vercel Integration
.github/workflows/vercel-bugster.yml
Netlify Integration
.github/workflows/netlify-bugster.yml
Troubleshooting
Action fails with authentication error
Action fails with authentication error
- Verify your
BUGSTER_API_KEY
secret is set correctly in repository settings - Check that the API key hasn’t expired in your Bugster dashboard
- Ensure the API key has proper permissions for the organization and project
Tests not running after successful action
Tests not running after successful action
- Confirm your
environment_url
is publicly accessible - Verify your repository has the
.bugster
configuration folder - Check that
deployment_state
is set to"success"
(default) - Ensure your
organization_id
andproject_id
are correct
Action times out
Action times out
- Increase the
timeout_seconds
parameter (default is 60) - Check if the Bugster API is accessible from GitHub Actions
- Verify your network connectivity and API endpoint
Missing repository configuration
Missing repository configuration
Error: “Repository does not have .bugster configuration folder”Run
bugster quickstart --api-key=YOUR_API_KEY
in your repository and commit the generated .bugster/
folder.Real-World Examples
Check out these working implementations:- Terminal Todo App - Simple PR-triggered testing
- Bugster Action Source - Official action implementation