Skip to content

Commit f7cfabb

Browse files
committed
feat: add codeowners for gnoweb
1 parent bad77e5 commit f7cfabb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

contribs/github-bot/internal/config/config.go

+11
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ func Config(gh *client.GitHub) ([]AutomaticCheck, []ManualCheck) {
5656
),
5757
),
5858
},
59+
{
60+
Description: "Changes related to gnoweb must be reviewed by its codeowners",
61+
If: c.And(
62+
c.BaseBranch("^master$"),
63+
c.FileChanged(gh, "^gno.land/pkg/gnoweb/"),
64+
),
65+
Then: r.Or(
66+
r.ReviewByUser(gh, "alexiscolin"),
67+
r.ReviewByUser(gh, "gfanton"),
68+
),
69+
},
5970
{
6071
Description: "Must not contain the \"don't merge\" label",
6172
If: c.Label("don't merge"),

0 commit comments

Comments
 (0)