-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
59 lines (59 loc) · 2.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: 'Upsert PR Action'
description: 'Creates or updates a PR, where both actions are independently configurable.'
branding:
icon: "git-pull-request"
color: "purple"
inputs:
github_token:
description: 'Token to be used in the GitHub API calls.'
required: true
pr_source_branch:
description: 'The branch to use as the "from" / "head" side of the PR.'
required: true
pr_destination_branch:
description: 'The branch to use as the "to" / "base" side of the PR.'
required: true
create_pr_title:
description: 'The title to use if creating a PR.'
required: true
update_pr_title:
description: 'The title to use if updating a PR.'
required: false
create_pr_body:
description: 'The description to use if creating a PR.'
required: false
update_pr_body:
description: 'The description to use if updating a PR.'
required: false
create_pr_reviewers:
description: 'Comma separated list of GitHub usernames to be added as reviewers if creating a PR.'
required: false
update_pr_reviewers:
description: 'Comma separated list of GitHub usernames to be added as reviewers if updating a PR.'
required: false
update_pr_rerequest_reviewers:
description: 'Comma separated list of GitHub usernames to request reviews from, even if they have already reviewed the PR.'
required: false
create_pr_draft:
description: 'Whether or not to create a draft PR, if creating a PR.'
required: false
create_pr_template_file:
description: 'If create_pr_body is not provided, create_pr_template_file can specify a template for new PRs.'
required: false
default: '.github/pull_request_template.md'
create_pr_body_template_vars:
description: 'JSON containing key/values to replace <!-- --> markdown comment template variables, if creating a PR.'
required: false
update_pr_body_template_vars:
description: 'JSON containing key/values to replace <!-- --> markdown comment template variables, if updating a PR.'
required: false
outputs:
pr_created:
description: '"true" or "false" to indicate a PR was created or already existed.'
pr_url:
description: 'URL of the PR, whether it was created or updated.'
pr_number:
description: 'The PR number of the created/updated PR.'
runs:
using: 'node20'
main: 'index.js'