Files
add-and-commit/action.yml
Federico Grandi 7f082ab428 Add patterns
2019-09-18 23:00:21 +02:00

32 lines
846 B
YAML

name: 'Add & Commit'
description: 'Add & commit files from a path directly from GitHub Actions'
inputs:
author_name:
description: 'The name of the user that will be displayed as the author of the commit'
required: true
default: 'Add & Commit GitHub Action'
author_email:
description: 'The email of the user that will be displayed as the author of the commit'
required: true
default: 'actions@github.com'
message:
description: 'The message for the commit'
required: true
default: 'Commit from GitHub Actions'
path:
description: 'The path to stage files from'
required: true
default: '.'
pattern:
description: 'The pattern that mathces file names'
required: false
default: "*.*"
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'git-commit'
color: black