From 9f54668ece5b368fcd0e4cf7eb215156dd0885f4 Mon Sep 17 00:00:00 2001 From: Conrad Date: Thu, 8 May 2025 10:32:44 +0200 Subject: [PATCH] fix: minor documentation cleanups --- action.yml | 2 +- entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index a48ceb3..54dbc65 100644 --- a/action.yml +++ b/action.yml @@ -67,7 +67,7 @@ inputs: required: false default: true git_identity: - description: Which identity is used for git name/email + description: Which identity is used for git name/email when committing changes. Needs to be one of "actions" or "author". required: false default: "actions" diff --git a/entrypoint.sh b/entrypoint.sh index dccdc65..7ba5200 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,12 +20,12 @@ EOF # If GIT_IDENTITY="actor" if [ "$INPUT_GIT_IDENTITY" = "author" ]; then git config --global user.name "$GITHUB_ACTOR" - git config --global user.email "$GITHUB_ACTOR@@users.noreply.github.com" + git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" elif [ "$INPUT_GIT_IDENTITY" = "actions" ]; then git config --global user.email "actions@github.com" git config --global user.name "GitHub Action" else - echo "GIT_IDENTITY must be either 'actor' or 'actions'"; + echo "GIT_IDENTITY must be either 'author' or 'actions'"; exit 1; fi; }