forked from gavv/pull-request-artifacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
41 lines (41 loc) · 1.28 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
name: 'Pull Request Artifact'
description: 'Post build artifacts in comments to pull request'
author: 'Victor Gaydov'
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:
description: 'Directory where to upload artifacts (defaults to root directory)'
default: ''
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
title:
description: 'Header to add to comment in the PR.'
default: '🤖 Pull request artifacts'
required: false
runs:
using: 'node20'
main: 'dist/index.js'