You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,25 @@ This action locates one of a given list of labels in the labels active on the wo
4
4
5
5
## Inputs
6
6
7
+
While `allowed` and `allowed_multiple` are both optional, at least one of either is required.
8
+
7
9
### `allowed`
8
10
9
-
**Required** The labels to look for. Separate via commas or newlines (using a block string).
11
+
**Optional** The labels to look for to match exactly one of. Separate via commas or newlines (using a block string).
12
+
13
+
### `allowed_multiple`
14
+
15
+
**Optional** The labels to look for to match many of. Separate via commas or newlines (using a block string).
16
+
17
+
### `default_match`
18
+
19
+
**Optional** A value to return if no matching labels are found. If this value is not specified and no matching labels are found, this action will exit with a failing code.
10
20
11
21
## Outputs
12
22
13
23
### `match`
14
24
15
-
The one label from the `allowed` list that was located. The action will fail if no labels matched or more than one was found.
25
+
The one label from the `allowed`or `allowed_multiple`list that was located. If no `default_match` is specified, the action will fail if no labels matched or more than one was found.
0 commit comments