-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
35 lines (35 loc) · 1.22 KB
/
action.yml
File metadata and controls
35 lines (35 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 'Get a random unsplash photo'
description: 'Get a random unsplash photo'
branding:
icon: image
color: purple
inputs:
unsplash_token: # token to auth to unsplash
description: 'token to auth to unsplash'
required: true
github_token: # token to auth to github
description: 'token to auth to github'
required: true
template: # template to use
description: 'template to use'
required: true
orientation: # orientation of image (Valid values: landscape, portrait, squarish)
description: 'orientation of image'
required: false
default: 'landscape'
query: # query to search for
description: 'query to search for'
required: false
content_filter: # content filter. (Default: high. Valid values are low and high)
description: 'content filter'
required: false
default: 'high'
collections: # collection IDs to pull a random image from (comma separated).
description: 'Public collection IDs to filter selection. If multiple, comma-separated'
required: false
topics: # topic IDs to pull a random image from (comma separated).
description: 'Public topic IDs to filter selection. If multiple, comma-separated'
required: false
runs:
using: 'node20'
main: 'index.js'