-
Notifications
You must be signed in to change notification settings - Fork 17
/
action.yml
75 lines (72 loc) · 2.75 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
name: 'Update Gradle Wrapper Action'
description: 'Keeps Gradle Wrapper script in your projects up-to-date'
author: 'Cristian Greco'
branding:
icon: chevrons-up
color: gray-dark
inputs:
repo-token:
description: 'Access token for the repository, e.g. `{{ secrets.GITHUB_TOKEN }}`.'
required: false
default: ${{ github.token }}
reviewers:
description: 'List of users to request a review from (comma or newline-separated).'
required: false
default: ''
team-reviewers:
description: 'List of teams to request a review from (comma or newline-separated).'
required: false
default: ''
labels:
description: 'List of labels to set on the Pull Request (comma or newline-separated).'
required: false
default: ''
base-branch:
description: 'Base branch where the action will run and update the Gradle Wrapper.'
required: false
target-branch:
description: 'Branch to create the Pull Request against.'
required: false
set-distribution-checksum:
description: 'Whether to set the `distributionSha256Sum` property in `gradle-wrapper.properties`.'
required: false
default: true
distributions-base-url:
description: 'Use a custom base url to download the distributions file.'
required: false
default: ''
paths:
description: 'List of paths where to search for Gradle Wrapper files (comma or newline-separated).'
required: false
default: ''
paths-ignore:
description: 'List of paths to be excluded when searching for Gradle Wrapper files (comma or newline-separated).'
required: false
default: ''
release-channel:
description: 'Gradle release channel to be used (either `stable` or `release-candidate`).'
required: false
default: stable
merge-method:
description: 'Which merge method to use for auto-merge (either `MERGE`, `REBASE`, or `SQUASH`). If unset, auto-merge will not be enabled on opened PRs.'
required: false
pr-title-template:
description: |
Template used for PR title.
There are cases in which the source version of the Gradle Wrapper can not
be determined successfully. In such cases, the string 'undefined' will be
used to replace the source version placeholder.
required: false
default: 'Update Gradle Wrapper from %sourceVersion% to %targetVersion%'
commit-message-template:
description: |
Template used for commit message.
There are cases in which the source version of the Gradle Wrapper can not
be determined successfully. In such cases, the string 'undefined' will be
used to replace the source version placeholder.
required: false
default: 'Update Gradle Wrapper from %sourceVersion% to %targetVersion%'
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'