Skip to content

Commit

Permalink
Add: Working directory to set-github-user action
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself authored and greenbonebot committed Feb 1, 2024
1 parent 4a38407 commit 0f47a2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions set-github-user/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ description: |
# Never look up these commands again. :)

inputs:
working-directory:
description: "A working directory where to run poetry install"
user:
description: "GitHub user name on behalf of whom the actions will be executed. Default is 'github-actions'."
default: github-actions
Expand All @@ -31,3 +33,4 @@ runs:
git config --global user.email "${{ inputs.mail }}"
git remote set-url origin https://${{ inputs.token }}@github.com/${{ inputs.repository }}
shell: bash
working-directory: ${{ inputs.working-directory }}

0 comments on commit 0f47a2a

Please sign in to comment.