Skip to content

Commit 96f6007

Browse files
authored
Specify labels as input (#10)
* Make input required * Receive JSON array of labels as input for checking
1 parent 3f143ce commit 96f6007

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

action.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: 'Container Action Template'
33
description: 'Get started with Container actions'
44
author: 'GitHub'
55
inputs:
6-
myInput:
7-
description: 'Input to use'
8-
default: 'world'
6+
labels:
7+
description: 'A JSON array of labels, exactly one of which must be present'
8+
default: '[]'
9+
required: true
910
runs:
1011
using: 'docker'
1112
image: 'Dockerfile'
1213
args:
13-
- ${{ inputs.myInput }}
14+
- ${{ inputs.labels }}

0 commit comments

Comments
 (0)