forked from githubocto/flat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (42 loc) · 1.52 KB
/
action.yml
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
36
37
38
39
40
41
42
name: 'Flat Data'
description: 'The GitHub action which powers data fetching for Flat'
author: 'GitHub OCTO'
inputs:
axios_config:
description: 'A path (relative to the root of your repo) of a JSON file containing a subset of Axios configuration'
required: false
downloaded_filename:
description: 'The filename to use for writing data.'
required: false
http_url:
description: 'A URL containing data to fetch.'
required: false
authorization:
description: 'A string to send as a header for authorizing API requests.'
required: false
mask:
description: 'A string array of secrets to strip from the http_url or a string boolean'
required: false
sql_connstring:
description: 'A connection string for making a SQL query.'
required: false
sql_queryfile:
description: 'A path (relative to the root of your repo) of a SQL query file to execute for fetching data.'
required: false
default: '.github/workflows/query.sql'
typeorm_config:
description: 'A JSON string representing a configuration passed to TypeORMs createConnection function'
required: false
postprocess:
description: 'A path (relative to the root of your repo) or a URL to a deno postprocessing script.'
required: false
outputs:
delta_bytes: # size of changed data
description: The overall number of bytes changed in the output data this run (current size - previous size)
runs:
using: 'node12'
main: 'dist/index.js'
post: 'dist/post/index.js'
branding:
color: 'purple'
icon: 'download-cloud'