-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
29 lines (27 loc) · 806 Bytes
/
action.yml
File metadata and controls
29 lines (27 loc) · 806 Bytes
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: 'Bump a dependency module'
description: 'This will bump a maven module dependency and raise a PR'
inputs:
module_to_bump:
description: 'Bump the module, example- name of the module'
required: true
default: ''
version_to_bump:
description: 'Version of the module to bump'
required: true
default: ''
github_access_token:
description: 'Access Token'
required: true
default: 'Default access token'
outputs:
PR:
description: "Pull Req id"
value: "PR-123"
runs:
using: "composite"
steps:
- name: Create a PR
env:
GITHUB_TOKEN: ${{ inputs.github_access_token }}
shell: bash
run: ${{ github.action_path }}/scripts/raise_pr.sh ${{ inputs.module_to_bump }} ${{ inputs.version_to_bump }} ${{ inputs.github_access_token }}