forked from neverendingqs/gh-action-node-update-deps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (33 loc) · 1.1 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
name: Update NodeJS Dependencies
branding:
icon: package
color: green
description: Updates Node dependencies and creates a pull request with the changes.
inputs:
bump-version:
description: If set, bumps the package version based on value (e.g. patch).
default: ''
git-user-email:
description: Git user.email to use for the commit.
default: 41898282+github-actions[bot]@users.noreply.github.com
git-user-name:
description: Git user.name to use for the commit.
default: github-actions[bot]
package-manager:
description: Set to 'yarn' to use yarn. Defaults to npm.
default: npm
pre-commit-script:
description: A command to run before committing the dependency changes (e.g. npm run build).
pull-request-labels:
description: Comma-delimited labels to apply to the pull request.
default: dependencies
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.git-user-name }}
- ${{ inputs.git-user-email }}
- ${{ inputs.package-manager }}
- ${{ inputs.bump-version }}
- ${{ inputs.pre-commit-script }}
- ${{ inputs.pull-request-labels }}