-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
27 lines (26 loc) · 1.09 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
name: 'Dependencies Autoupdate'
description: 'Language agnostic action that automatically updates dependencies and creates PR with the changes. e.g.: go, js, rust, py, ts'
branding:
icon: 'arrow-up-circle'
color: 'green'
inputs:
token:
description: Token used to send pull requests
required: true
update-command:
description: Command to update dependencies and do initial checks
required: true
pr-branch:
description: PR branch against which the PR should be created, defaults to main
required: false
update-path:
description: Path to directory to run the update-command. If not provided defaults to root
required: false
on-changes-command:
description: Command to run if dependencies update and changes were detected. This can be version increments or extra checks.
required: false
runs:
using: 'composite'
steps:
- run: ${{ github.action_path }}/autoupdate-dependencies.sh ${{ inputs.token }} ${{ inputs.update-command }} ${{ inputs.pr-branch }} ${{ inputs.update-path }}? ${{ inputs.on-changes-command }}?
shell: bash