From 23a15066199f119e51451e6b78819a9258829c2c Mon Sep 17 00:00:00 2001 From: Akira Hayashi Date: Mon, 17 Apr 2023 16:36:14 +0900 Subject: [PATCH] Correct name of GitHub event for Pull requests --- examples/policy/added_label.rego | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/policy/added_label.rego b/examples/policy/added_label.rego index a00f03b..0e27c85 100644 --- a/examples/policy/added_label.rego +++ b/examples/policy/added_label.rego @@ -1,7 +1,7 @@ package github.notify notify[msg] { - input.name == "pull_requests" + input.name == "pull_request" input.event.action == "labeled" input.event.label.name == "breaking-change"