2019-08-20 18:43:07 +00:00
|
|
|
name: Git Auto Commit
|
2019-10-26 14:33:59 +00:00
|
|
|
description: 'Automatically commits files which have been changed during the workflow run and push changes back to remote repository.'
|
2019-08-20 18:43:07 +00:00
|
|
|
|
2019-08-20 19:05:17 +00:00
|
|
|
author: Stefan Zweifel <hello@stefanzweifel.io>
|
|
|
|
|
2019-08-20 18:43:07 +00:00
|
|
|
inputs:
|
|
|
|
commit_message:
|
2019-09-20 08:46:35 +00:00
|
|
|
description: Commit message
|
2019-08-20 18:43:07 +00:00
|
|
|
required: true
|
2019-10-31 08:02:56 +00:00
|
|
|
commit_options:
|
|
|
|
description: Commit options
|
|
|
|
required: false
|
2019-09-20 18:26:41 +00:00
|
|
|
branch:
|
2019-09-20 08:46:35 +00:00
|
|
|
description: Branch where changes should be pushed too
|
2019-09-20 08:30:36 +00:00
|
|
|
required: true
|
2019-10-25 18:51:12 +00:00
|
|
|
file_pattern:
|
|
|
|
description: File pattern used for "git add"
|
2019-10-26 10:13:56 +00:00
|
|
|
required: false
|
2019-11-01 09:15:22 +00:00
|
|
|
default: '.'
|
2019-12-10 12:02:34 +00:00
|
|
|
repository:
|
|
|
|
description: Path to repository
|
|
|
|
required: false
|
|
|
|
default: '.'
|
2019-09-20 08:30:36 +00:00
|
|
|
|
2019-08-20 18:43:07 +00:00
|
|
|
runs:
|
|
|
|
using: 'docker'
|
|
|
|
image: 'Dockerfile'
|
2019-11-01 08:51:54 +00:00
|
|
|
args:
|
|
|
|
- ${{ inputs.commit_message }}
|
|
|
|
- ${{ inputs.commit_options }}
|
|
|
|
- ${{ inputs.branch }}
|
|
|
|
- ${{ inputs.file_pattern }}
|
2019-12-10 12:02:34 +00:00
|
|
|
- ${{ inputs.repository }}
|
2019-08-20 18:43:07 +00:00
|
|
|
|
|
|
|
branding:
|
|
|
|
icon: 'git-commit'
|
|
|
|
color: orange
|