Skip to content

Commit e9e762d

Browse files
committed
fix autoassign roles selection documenation
1 parent 141efb0 commit e9e762d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ rules:
168168
skip-if-labeled:
169169
- pending-approval
170170
autoassign:
171-
from-roles:
171+
roles:
172172
- admins
173173
- reviewers
174174
```

bot/actions/autoassign/rule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package autoassign
22

33
type rule struct {
44
FromRoles []string `mapstructure:"roles"`
5-
Require int `json:"mapstructure"`
5+
Require int `mapstructure:"require"`
66
IfNoAssignees bool `mapstructure:"if-no-assignees"`
77
Experimental struct {
88
FromSuggestions bool `mapstructure:"suggest"`

0 commit comments

Comments
 (0)