forked from stefanzweifel/git-auto-commit-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (28 loc) · 777 Bytes
/
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
name: Git Auto Commit
description: 'Automatically commits files which have been changed during the workflow run and push changes back to remote repository.'
author: Stefan Zweifel <[email protected]>
inputs:
commit_message:
description: Commit message
required: true
commit_options:
description: Commit options
required: false
branch:
description: Branch where changes should be pushed too
required: true
file_pattern:
description: File pattern used for "git add"
required: false
default: '.'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.commit_message }}
- ${{ inputs.commit_options }}
- ${{ inputs.branch }}
- ${{ inputs.file_pattern }}
branding:
icon: 'git-commit'
color: orange