We only want an alert when a pr is merged into main in GitHub
Hey Marc,
Thanks for reaching out to Atlassian Community!
To filter and receive alerts only when a pull request is merged into the main branch in GitHub, you need to configure the GitHub integration in Opsgenie. Set up a condition in the integration settings to check if the target branch of the merged PR is main. This way, you’ll only get alerts for PRs merged into the main branch.
Condition for the Target Branch:
{
"condition": "equals",
"key": "pull_request.base.ref",
"value": "main"
}
Best Regards,
Egor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.