mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
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
|
|
branch:
|
|
description: Git branch name, where changes should be pushed too.
|
|
required: false
|
|
default: ${GITHUB_REF:11}
|
|
commit_options:
|
|
description: Commit options (eg. --no-verify)
|
|
required: false
|
|
file_pattern:
|
|
description: File pattern used for `git add`. For example `src/\*.js`
|
|
required: false
|
|
default: '.'
|
|
repository:
|
|
description: Local file path to the git repository. Defaults to the current directory (`.`)
|
|
required: false
|
|
default: '.'
|
|
commit_user_name:
|
|
description: Name used for the commit user
|
|
required: false
|
|
default: GitHub Actions
|
|
commit_user_email:
|
|
description: Email address used for the commit user
|
|
required: false
|
|
default: actions@github.com
|
|
commit_author:
|
|
description: Value used for the commit author. Defaults to the username of whoever triggered this workflow run.
|
|
required: false
|
|
default: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
|
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
|
|
branding:
|
|
icon: 'git-commit'
|
|
color: orange
|