Use github.actor as default value for commit author (#128)

This commit is contained in:
Dominik Schilling
2021-01-16 16:03:32 +01:00
committed by GitHub
parent 1146c681e3
commit 9c056146c1
6 changed files with 9 additions and 92 deletions

View File

@@ -9,9 +9,11 @@ inputs:
author_name:
description: The name of the user that will be displayed as the author of the commit
required: false
default: ${{ github.actor }}
author_email:
description: The email of the user that will be displayed as the author of the commit
required: false
default: ${{ github.actor }}@users.noreply.github.com
branch:
description: Name of the branch to use, if different from the one that triggered the workflow
required: false
@@ -39,10 +41,6 @@ inputs:
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
token:
description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)'
required: false
default: ${{ github.token }}
outputs:
committed: