2019-08-21 02:43:07 +08:00
|
|
|
name: Git Auto Commit
|
2019-10-26 22:33:59 +08:00
|
|
|
description: 'Automatically commits files which have been changed during the workflow run and push changes back to remote repository.'
|
2019-08-21 02:43:07 +08:00
|
|
|
|
2019-08-21 03:05:17 +08:00
|
|
|
author: Stefan Zweifel <hello@stefanzweifel.io>
|
|
|
|
|
2019-08-21 02:43:07 +08:00
|
|
|
inputs:
|
|
|
|
commit_message:
|
2019-09-20 16:46:35 +08:00
|
|
|
description: Commit message
|
2019-08-21 02:43:07 +08:00
|
|
|
required: true
|
2020-02-06 03:24:25 +08:00
|
|
|
branch:
|
2020-02-07 03:49:03 +08:00
|
|
|
description: Git branch name, where changes should be pushed too. Required if Action is used on the `pull_request` event
|
2020-02-06 04:12:20 +08:00
|
|
|
required: false
|
2020-02-06 04:39:14 +08:00
|
|
|
default: ''
|
2019-10-31 16:02:56 +08:00
|
|
|
commit_options:
|
2019-12-18 18:58:17 +08:00
|
|
|
description: Commit options (eg. --no-verify)
|
2019-10-31 16:02:56 +08:00
|
|
|
required: false
|
2019-10-26 02:51:12 +08:00
|
|
|
file_pattern:
|
2020-02-06 03:24:25 +08:00
|
|
|
description: File pattern used for `git add`. For example `src/\*.js`
|
2019-10-26 18:13:56 +08:00
|
|
|
required: false
|
2019-11-01 17:15:22 +08:00
|
|
|
default: '.'
|
2019-12-10 20:02:34 +08:00
|
|
|
repository:
|
2020-02-06 03:24:25 +08:00
|
|
|
description: Local file path to the git repository. Defaults to the current directory (`.`)
|
2019-12-10 20:02:34 +08:00
|
|
|
required: false
|
|
|
|
default: '.'
|
2020-02-05 03:14:27 +08:00
|
|
|
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-05 04:02:40 +08:00
|
|
|
commit_author:
|
2020-02-06 03:24:25 +08:00
|
|
|
description: Value used for the commit author. Defaults to the username of whoever triggered this workflow run.
|
2020-02-05 04:02:40 +08:00
|
|
|
required: false
|
|
|
|
default: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
2020-03-06 03:31:06 +08:00
|
|
|
tagging_message:
|
2020-03-06 03:48:00 +08:00
|
|
|
description: Message used to create a new git tag with the commit. Keep this empty, if no tag should be created.
|
2020-03-06 03:31:06 +08:00
|
|
|
required: false
|
|
|
|
default: ''
|
2019-09-20 16:30:36 +08:00
|
|
|
|
2020-03-05 02:56:33 +08:00
|
|
|
outputs:
|
|
|
|
changes_detected:
|
|
|
|
description: Value is "true", if the repository was dirty and file changes have been detected. Value is "false", if no changes have been detected.
|
|
|
|
|
2019-08-21 02:43:07 +08:00
|
|
|
runs:
|
2020-02-12 03:50:33 +08:00
|
|
|
using: 'node12'
|
2020-02-12 04:04:18 +08:00
|
|
|
main: 'index.js'
|
2019-08-21 02:43:07 +08:00
|
|
|
|
|
|
|
branding:
|
|
|
|
icon: 'git-commit'
|
|
|
|
color: orange
|