If you use GitHub as a remote repository for your Looker project, Spectacles can run designated Suites when Pull Requests are opened.
Spectacles requires the following permissions:
- Read access to metadata and pull requests
- Read and write access to commit statuses, repository hooks, and workflows
This access is at repository level, so you can choose to only grant it to the relevant Looker project repositories.
From Settings, click Connect to GitHub. A GitHub OAuth popup will appear. You may need to login.
You should see your GitHub organisation with a button to the right. Click it to grant or request access.
Once the integration has been set up, you can choose Pull Request triggers for any Suites. Spectacles will add a webhook to the respository.
You can verify that the integration was configured successfully by going to the corresponding GitHub repository, clicking Settings, then Webhooks and confirming there is a
pull_reequest webhook in place for