Skip to content

Commit

Permalink
add working_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Apr 23, 2022
1 parent 56afccf commit f1fe903
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup-git/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ inputs:
description: "Set a user email"
default: "github-actions[bot]@users.noreply.github.com"
required: false
working_directory:
description: "Set a working directory"
default: ""
required: false
runs:
using: "composite"
steps:
- name: "git config"
shell: "bash"
working-directory: "${{ inputs.working_directory }}"
run: |
git config user.name "${{ inputs.user_name }}"
git config user.email "${{ inputs.user_email }}"

0 comments on commit f1fe903

Please sign in to comment.