Any way to notify PR Author when required status check fails? #58951
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
In our GitHub org/repo, the PRs "require status checks to pass before merging". Status check like Gearset CI job, codescan run etc.
We are planning to enable "Allow Auto-Merge" feature. We are advertising this feature to our team as - "You can create the PR, click 'Enable Auto-Merge' button and leave. You don't have to babysit it." This works fine if all required status checks pass. But if any of them fail, that's a problem. Developers won't know their PR is stuck until hours later when they manually come back to check.
So my question is - Is there any way to notify the PR author when any required status checks fail? Right now, the author gets an email in these events -
Is there a configuration available anywhere so that they will get email (or slack msg) if their PR's required status check fails?
Also, is there any GitHub webhook event for the same that can trigger a workflow? I checked the "Status" activity documentation, but doesn't look like that's for PR's status check. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions