-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
46 lines (46 loc) · 1.53 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
43
44
45
46
name: 'Notion github catalog'
description: 'A github action that synchronises a Github repo data, including Backstage definition file information, with a Notion database'
branding:
icon: git-pull-request
color: blue
inputs:
github_owner:
description: 'Github owner organization or user - e.g. infinitaslearning'
required: true
github_token:
description: 'Github API token'
required: true
notion_token:
description: 'Notion API token'
required: true
database:
description: 'Parent database to add to'
required: true
push_missing:
description: 'Push services that miss a `catalog-info.yaml` file or not'
required: true
ignore_hash:
description: 'Ignore the hash and update regardless'
default: 'false'
system_database:
description: 'Database ID to read systems from'
owner_database:
description: 'Database ID to read segments from'
repository_type:
description: 'Github repository type (e.g. all|private|internal), defaults to `all`'
default: 'all'
repository_filter:
description: 'Regex string to filter repository name by, defaults to .*'
default: '.*'
repository_batch_size:
description: 'How many github repos to request in parallel, defaults to 10'
default: '10'
catalog_file:
description: 'Catalog file name to look for in the root of repo, defaults to `catalog-file.yaml`'
default: 'catalog-info.yaml'
outputs:
status:
description: 'The status of the scan'
runs:
using: 'node16'
main: 'dist/index.js'