If you use GitHub and GitHub Actions, there's a ready-made Build Tracker action that you can include to add reports to every pull request. The action will include a summary of any failing budgets, a table comparison, and a link to your Build Tracker instance for a more in-depth view.
Put the following content in the file
You can get this from your repo secrets settings. It will allow the action to post comments on pull requests.
If your config file is not in the root of your repository, include the relative path here.
Required if you've secured your API with an auth token.
Collapse the table output. Setting this to
false will make the comparison table always visible.
Filter out table rows that do not have errors or warnings. Set this to
true to prevent the table from becoming too large with un-actionable information.
Fails your GitHub action if any budgets do not pass. This may prevent merging the pull request.