-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
39 lines (39 loc) · 1.16 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
name: 'moon - CI run reports'
author: 'Miles Johnson'
description: 'Reports the run results of `moon ci` to a pull request.'
inputs:
access-token:
description: 'GitHub access token to post comments.'
required: true
limit:
description: 'Maximum number of actions to display in the report table.'
default: 20
matrix:
description: 'Metadata about the current job matrix in JSON.'
default: ''
skip-comment:
description: 'Skip creating a comment. Useful alongside `report` output.'
default: 'false'
slow-threshold:
description: 'Number of seconds before an action is to be considered slow.'
default: 120
sort-by:
description: 'Field to sort actions by. Accepts "time" or "label".'
default: ''
sort-dir:
description: 'Direction to sort with.'
default: 'desc'
workspace-root:
description: 'Root of the moon workspace. Defaults to working directory.'
default: ''
outputs:
comment-created:
description: 'Whether or not the comment was created on the pull request.'
report:
description: 'The generated report.'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'moon'
color: 'purple'