-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
42 lines (42 loc) · 1.59 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
# action.yml
name: 'Open Source Heartbeat Interface'
description: 'Create an interface for open source events on GitHub.'
branding:
icon: 'heart'
color: 'red'
inputs:
users_file:
description: 'This is the relative path in the repository for the users.txt (or other named file) that includes GitHub user names for users to include for parsin GitHub events.'
required: true
default: 'users.txt'
users_from_orgs_file:
description: "A list of organizations to find users from."
default: "user-orgs.txt"
orgs_file:
description: "A list of organizations to include contributions for, not updated automatically."
default: "orgs.txt"
exclude_users_file:
description: 'The relative path in the repository for the exclude-users.txt (or other named file) for users to not include if discovered programatically.'
required: true
default: 'exclude-users.txt'
cleanup:
description: 'If defined, clean up the previous folder (removing previous events) If not defined, skip cleanup.'
required: false
query:
description: 'A user query to run before updating the users_file. If left blank, will not be updated.'
required: false
events:
description: 'Comma separated list of event names to parse, defaults to parsing all events'
default: all
collection:
description: 'The collections folder under docs to write events to. Defaults to _events.'
default: _events
token:
description: >
Auth token used to fetch the repository.
default: ${{ github.token }}
runs:
using: 'docker'
image: 'Dockerfile'
env:
GITHUB_TOKEN: ${{ inputs.token }}