46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
name: Add & Commit
|
|
description: Add & commit files from a path directly from GitHub Actions
|
|
|
|
inputs:
|
|
add:
|
|
description: Arguments for the git add command
|
|
required: false
|
|
default: '.'
|
|
author_name:
|
|
description: The name of the user that will be displayed as the author of the commit
|
|
required: false
|
|
author_email:
|
|
description: The email of the user that will be displayed as the author of the commit
|
|
required: false
|
|
branch:
|
|
description: Name of the branch to use, if different from the one that triggered the workflow
|
|
required: false
|
|
cwd:
|
|
description: The directory where your repository is located. You should use actions/checkout first to set it up
|
|
required: false
|
|
default: '.'
|
|
message:
|
|
description: The message for the commit
|
|
required: false
|
|
pull_stategy:
|
|
description: The flag used on the pull strategy
|
|
required: false
|
|
default: '--no-rebase'
|
|
remove:
|
|
description: Arguments for the git rm command
|
|
required: false
|
|
signoff:
|
|
description: Whether to use the --signoff option on git commit
|
|
required: false
|
|
tag:
|
|
description: Arguments for the git tag command (the tag name always needs to be the first word not preceded by a hyphen)
|
|
required: false
|
|
|
|
runs:
|
|
using: node12
|
|
main: lib/index.js
|
|
|
|
branding:
|
|
icon: git-commit
|
|
color: gray-dark
|