-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
43 lines (40 loc) · 1.29 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
name: 'Comment artifact link on Pull Request description'
author: '@PicoCentauri'
description: 'Update PR description with a link to download an artifact'
branding:
color: 'gray-dark'
icon: 'paperclip'
inputs:
name:
description: 'Name of the artifact to link.'
required: true
description:
description: 'Description of the artifact download link.'
default: 'Download artifact for this pull request.'
required: false
path:
description:
'Destination path. Supports basic tilde expansion. Defaults to
$GITHUB_WORKSPACE'
required: false
github-token:
description: 'The GitHub token used to authenticate with the GitHub API.'
default: ${{ github.token }}
required: false
repository:
description:
'The repository owner and the repository name joined together by "/". If
github-token is specified, this is the repository that artifacts will be
downloaded from.'
required: false
default: ${{ github.repository }}
run-id:
description:
'The id of the workflow run where the desired download artifact was
uploaded from. If github-token is specified, this is the run that
artifacts will be downloaded from.'
required: false
default: ${{ github.run_id }}
runs:
using: node20
main: dist/index.js