Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Apr 23, 2022
1 parent 9454d6c commit 1504e1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup-git/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "Setup Git"
description: "A composite action to setup Git config"
inputs:
scope:
description: "Set a scope --global or --local"
flags:
description: "Set flags. e.g. --global, --local"
default: "--local"
required: false
user_name:
Expand All @@ -24,5 +24,5 @@ runs:
shell: "bash"
working-directory: "${{ inputs.working_directory }}"
run: |
git config "${{ inputs.scope }}" user.name "${{ inputs.user_name }}"
git config "${{ inputs.scope }}" user.email "${{ inputs.user_email }}"
git config "${{ inputs.flags }}" user.name "${{ inputs.user_name }}"
git config "${{ inputs.flags }}" user.email "${{ inputs.user_email }}"

0 comments on commit 1504e1c

Please sign in to comment.