With the mabl GitHub integration, mabl automatically creates a GitHub issue whenever it generates a mabl insight. Insights are generated when mabl detects a change relative to the baseline, such as when a plan that was previously passing starts to fail, or when a test’s page load time becomes significantly higher than expected.
Use automatic GitHub issue creation to surface meaningful changes in your application’s behavior to your team.
Creating custom events
If you want to take an action other than making a GitHub issue for a mabl insight, see the article on Generating custom GitHub events for more powerful integration options.
Setup
To get started, follow the instructions outlined in the GitHub integration setup article.
When you reach the GitHub integration page in mabl, toggle on the following settings:
- “Create GitHub RepositoryDispatch events for mabl insights”
- “Create GitHub issues for mabl insights”
Use the toggles and dropdowns in the Filter insights section to filter the insights that are important to your team. See the setup guide for a complete list of insight filters.
Filtering insights
Run tests
To generate GitHub issues from mabl insights, configure your CI/CD workflow to trigger a mabl deployment event and associate the deployment event with the GitHub code revision hash. mabl uses the commit hash to trace plan runs back to the source repository so issues can be filed against the correct repo.
Pass the commit hash when you create the deployment event:
-
mabl CLI: include
--revision {commit-sha}in yourmabl deployments createcommand. -
Deployments API: include the
revisionfield in the request body. -
run-mabl-tests GitHub Action: the Action passes
github.shaautomatically. No additional configuration is required.
Example using the mabl CLI:
mabl deployments create \
--application-id {app-id} \
--environment-id {env-id} \
--revision {commit-sha}When a deployment runs and mabl generates an insight that matches your filter criteria, the insight is automatically filed as a GitHub issue with the respective details.

A sample GitHub issue created from a mabl insight
Managing GitHub issue creation
See the GitHub integration setup article for full details on customizing this feature’s behavior.