-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
66 lines (54 loc) · 1.57 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
name: "Yarn 2 Bump Action"
description: Bumping version of specified dependencies for Yarn 2 PnP.
branding:
icon: package
color: blue
inputs:
pattern:
description: Pattern of dependency name, default and empty string will upgrade all dependencies.
required: true
default: ""
exclude:
description: Pattern of dependency name to exclude.
required: false
kind:
description: "Specify kind of dependency you want upgrade. One of all, development and production (default: all)"
required: true
default: "all"
base-ref:
description: "Base ref that branch would be checked out from. (default: master)"
required: true
default: master
branch:
description: Target branch that the bumping result will be synced.
required: true
repository:
description: GitHub repository
required: true
default: ${{ github.repository }}
username:
description: Git username
required: true
default: "GitHub Action"
email:
description: Git email
required: true
default: "[email protected]"
commit-message:
description: Git commit message text
required: true
default: "Bump-up dependencies"
runs:
using: "docker"
image: "Dockerfile"
env:
GITHUB_REPOSITORY: ${{ inputs.repository }}
GIT_USERNAME: ${{ inputs.username }}
GIT_EMAIL: ${{ inputs.email }}
GIT_BASE_REF: ${{ inputs.base-ref }}
GIT_BRANCH: ${{ inputs.branch }}
GIT_COMMIT_MSG: ${{ inputs.commit-message }}
args:
- "${{ inputs.pattern }}"
- --exclude "${{ inputs.exclude }}"
- --kind "${{ inputs.kind }}"