-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
22 lines (22 loc) · 767 Bytes
/
action.yml
File metadata and controls
22 lines (22 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: 'create-attribution-json'
description: 'A GitHub Action for creating an attribution.json file for a particular subsection of a repo'
inputs:
glob:
description: 'A glob for files which you want to provide attribution for'
default: '**/*.md'
required: false
useLocalizeJSON:
description: 'A boolean to use a localize.json (used in @oss-docs/sync) for the paths to set attribution instead of a glob'
default: 'false'
required: false
output:
description: 'The filename for the JSON file for attribution'
default: './attribution.json'
required: false
cwd:
description: 'The sub-folder to run everything from, useful for monorepos'
default: '.'
required: false
runs:
using: 'node12'
main: 'dist/index.js'