mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-07-24 17:26:07 +08:00
Use GITHUB_ACTOR instead of args
This commit is contained in:
@@ -32,7 +32,7 @@ then
|
||||
|
||||
git add .
|
||||
|
||||
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR_NAME <$INPUT_COMMIT_AUTHOR_EMAIL>"
|
||||
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>"
|
||||
|
||||
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
||||
else
|
||||
|
Reference in New Issue
Block a user