This repository has been archived by the owner on May 28, 2024. It is now read-only.
generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
60 lines (60 loc) · 2.01 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: 'Pull Request Artifact'
description: 'Post build artifacts in comments to pull request'
author: 'Victor Gaydov & contributors'
branding:
icon: 'git-pull-request'
color: 'blue'
inputs:
commit:
description: 'Commit hash that triggered PR'
required: true
repo-token:
description: 'Token for current repo (used to post PR comment)'
required: true
artifacts:
description: 'Space-separated list of files to upload'
required: true
artifacts-token:
description: 'Token for artifacts repo (if it differs from current repo)'
required: false
artifacts-repo:
description: 'Repo where to upload artifacts (defaults to current repo)'
required: false
artifacts-branch:
description: 'Branch where to upload artifacts (defaults to default branch)'
required: false
artifacts-dir:
deprecationMessage: 'This option is deprecated. Please use `artifacts-prefix` instead.'
description: 'Directory for ulpaded artifacts path'
required: false
artifacts-prefix:
description: 'Prefix for uploaded artifact path (may contain slashes to specify directory; defaults to pr{NNN}-, where {NNN} is PR number)'
default: '-'
required: false
preserve-path:
description: 'Whether to preserve artifact path, otherwise use only basename'
default: false
required: false
inter-link:
description: 'Whether to link the original PR when committing artifacts'
default: true
required: false
post-comment:
description: 'Whether to post a comment with links to artifacts'
default: true
required: false
comment-title:
description: 'Header to add to comment in the PR'
default: '🤖 Pull request artifacts'
required: false
comment-message:
description: 'Message to add to comment in the PR. Will be visible before the artifacts'
default: 'empty string'
required: false
comment-style:
description: 'How to format comment (can be `table` or `list`)'
default: 'table'
required: false
runs:
using: 'node20'
main: 'dist/index.js'