Check for related records after a pull request commit
When a pull request changes, search indexed records for context that can help guide the next review.
Trigger
New Commit Added to Pull Request
Triggers when a new commit is pushed to a pull request.
Action
Query Index
Searches an Elasticsearch index for documents.
Why this helps
New commits can restart review work when earlier context is difficult to find.
- Search for records related to the updated pull request.
- Bring potentially useful context into the next review pass.
- Reduce repeated searches after each added commit.
Setup
Build it in a few focused steps.
- 1Connect GitHub and Elasticsearch once in the Notis portal.
- 2Create an automation named New PR Commit Impact Context.
- 3In one instruction, ask Notis to search Elasticsearch for records related to the pull request and new commit, then summarize any matches for review.
- 4Pick New Commit Added to Pull Request as the trigger and choose where run reports go.
- 5Test with one real pull request commit and confirm the indexed data can support the search.
Questions about this workflow
Does this determine whether the commit is safe to merge?
No. It searches for related indexed records and summarizes them; it does not validate code or make merge decisions.
Can it find context if our Elasticsearch data has no code records?
It can still run the search, but relevant results depend on the contents of your indices.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link GitHub to Elasticsearch. A trigger fires from one place; an action lands in another.
GitHub triggers
Elasticsearch actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Index Schema
View the structure and field mappings of an index.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
List Indices
Lists available Elasticsearch indices.
New Workflow Artifact Created
Triggers when a new workflow artifact is created in a repository.
Query Index
Searches an Elasticsearch index for documents.
Branch Changed
Triggers when a branch receives commits or its protection settings change.
Ping Cluster
Pings the cluster to check its connectivity and health.
New Branch Created
Triggers when a new branch is created in a repository.
Check Run Status / Conclusion Changed
Triggers when a check run’s status or conclusion changes.
Check Suite Status / Conclusion Changed
Triggers when a check suite’s status or conclusion changes for a reference.
New Code Scanning Alert Created
Triggers when a new code scanning alert is created in a repository.
Connect any two apps with Notis in the middle.
GitHub and Elasticsearch, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Elasticsearch.