generated from int128/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yaml
40 lines (40 loc) · 1.22 KB
/
action.yaml
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
name: diff
description: Compute a diff between head and base, and post it to a comment.
inputs:
base:
description: Path(s) of base (multiline)
required: true
head:
description: Path(s) of head (multiline)
required: true
label:
description: Label(s) to add or remove to indicate the diff (multiline)
required: false
comment-header:
description: Header of a comment to post
required: false
default: |
## diff
comment-footer:
description: Footer of a comment to post
required: false
default: |
[See the workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
<!-- diff-action -->
update-if-exists:
description: If set, create or update a comment. This must be either replace, append or recreate
required: false
update-if-exists-key:
description: Key for update-if-exists, appended into a comment
required: true
default: ${{ github.workflow }}/${{ github.job }}
token:
description: GitHub token to post a comment
required: true
default: ${{ github.token }}
outputs:
different:
description: If there is any difference, `true`. Otherwise, `false`
runs:
using: 'node20'
main: 'dist/index.js'