mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-07-24 09:16:07 +08:00
Follow GH Action's naming restrictions
This commit is contained in:
31
action.yml
Normal file
31
action.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
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 <hello@stefanzweifel.io>
|
||||
|
||||
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
|
||||
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
args:
|
||||
- ${{ inputs.commit_message }}
|
||||
- ${{ inputs.commit_options }}
|
||||
- ${{ inputs.branch }}
|
||||
- ${{ inputs.file_pattern }}
|
||||
|
||||
branding:
|
||||
icon: 'git-commit'
|
||||
color: orange
|
Reference in New Issue
Block a user