git-auto-commit-action/action.yml

44 lines
1.3 KiB
YAML
Raw Normal View History

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
2020-02-05 19:24:25 +00:00
branch:
description: Git branch name, where changes should be pushed too.
required: true
commit_options:
2019-12-18 10:58:17 +00:00
description: Commit options (eg. --no-verify)
required: false
2019-10-25 18:51:12 +00:00
file_pattern:
2020-02-05 19:24:25 +00:00
description: File pattern used for `git add`. For example `src/\*.js`
required: false
2019-11-01 09:15:22 +00:00
default: '.'
repository:
2020-02-05 19:24:25 +00:00
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
2020-02-04 20:02:40 +00:00
commit_author:
2020-02-05 19:24:25 +00:00
description: Value used for the commit author. Defaults to the username of whoever triggered this workflow run.
2020-02-04 20:02:40 +00:00
required: false
default: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
2019-09-20 08:30:36 +00:00
2019-08-20 18:43:07 +00:00
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'git-commit'
color: orange