feat: add allow-permissions (#46)

* feat: add

* up

* up

* add doc
This commit is contained in:
xrkffgg
2021-01-26 17:55:42 +08:00
committed by GitHub
parent 4c5e1fa83c
commit f777971d6d
7 changed files with 259 additions and 263 deletions

View File

@@ -400,10 +400,15 @@ jobs:
| labels | Replace the labels of the issue | string | ✖ |
| contents | Add [reaction](#reactions-types) for this comment | string | ✖ |
| close-issue | Whether to close the issue at the same time | string | ✖ |
| allow-permissions | Permission to operate | string | ✖ |
- `duplicate-command`: When setting concise commands, while still supporting the original `Duplicate of`. Block content contains `?`
- `labels`: Highest priority
- `close-issue`: Both `true` or `'true'` can take effect
- `allow-permissions`: When you do not input, there is no limit. Anyone comment will trigger. Optional values are `admin`, `write`, `read`, `none`
- If the team member sets the read permission, it is read
- If the external Collaborator is set to read permission, it is read
- Ordinary users have read permission
⏫ [Back to list](#List)