This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
81 lines (80 loc) · 2.53 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: go-mod-tidy-pr
description: Run `go mod tidy` and create PullRequest on GitHub Actions
author: sue445
branding:
icon: code
color: green
inputs:
github_token:
description: GitHub Token
required: true
git_user_name:
description: Username for commit
required: true
git_user_email:
description: E-mail for commit
required: true
base:
description: |
The base branch in the "[OWNER:]BRANCH" format. Defaults to the default branch of the upstream repository (usually "master").
See https://hub.github.com/hub-pull-request.1.html
required: false
reviewer:
description: |
A comma-separated list (no spaces around the comma) of GitHub handles to request a review from.
See https://hub.github.com/hub-pull-request.1.html
required: false
assign:
description: |
A comma-separated list (no spaces around the comma) of GitHub handles to assign to this pull request.
See https://hub.github.com/hub-pull-request.1.html
required: false
milestone:
description: |
The milestone name to add to this pull request. Passing the milestone number is deprecated.
See https://hub.github.com/hub-pull-request.1.html
required: false
labels:
description: |
A comma-separated list (no spaces around the comma) of labels to add to this pull request. Labels will be created if they do not already exist.
See https://hub.github.com/hub-pull-request.1.html
required: false
draft:
description: |
Create the pull request as a draft.
See https://hub.github.com/hub-pull-request.1.html
required: false
go_mod_directory:
description: Directory where go.mod is located
required: true
default: .
go_version:
description: Specify your Go version. Defaults to the latest version.
required: false
debug:
description: Whether print debug logging
required: false
duplicate:
description: Whether create PullRequest even if it has already existed
required: false
timezone:
description: Timezone to be used if set (e.g. `Asia/Tokyo`)
required: false
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.github_token }}
- ${{ inputs.git_user_name }}
- ${{ inputs.git_user_email }}
- ${{ inputs.base }}
- ${{ inputs.reviewer }}
- ${{ inputs.assign }}
- ${{ inputs.milestone }}
- ${{ inputs.labels }}
- ${{ inputs.draft }}
- ${{ inputs.go_mod_directory }}
- ${{ inputs.go_version }}
- ${{ inputs.debug }}
- ${{ inputs.duplicate }}
- ${{ inputs.timezone }}