generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
45 lines (45 loc) · 1.31 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
name: 'Smart Diff'
description: 'Perform a diff between two files given a tolerance and send notifications'
author: 'Louis Brunner'
branding:
icon: 'plus-square'
color: 'green'
inputs:
old:
description: 'first file to compare'
required: true
new:
description: 'second file to compare'
required: true
mode:
description: 'the mode used to measure the tolerance'
default: 'strict'
tolerance:
description: 'the tolerance used to judge if the diff improved'
default: 'same'
output:
description: 'write the diff to the given file'
required: false
token:
description: 'your GITHUB_TOKEN, used when sending notifications'
required: false
title:
description: 'add a title to the notifications to distinguish between multiple workflows/jobs'
required: false
notify_issue:
description: 'send a notification to the linked issue/pullrequest with the output'
required: false
sticky_comment:
description: 'will edit the created comment instead of creating a new one everytime'
required: false
notify_check:
description: 'create a check run with the output'
required: false
outputs:
passed:
description: 'boolean describing if the test passed or not'
output:
description: 'text of the diff'
runs:
using: 'node20'
main: 'dist/index.js'