Skip to content

Commit

Permalink
Merge pull request #14 from mobilecoinofficial/restore-safe-dir-step
Browse files Browse the repository at this point in the history
restore safe-dir step, built in doesn't work as expected
  • Loading branch information
jgreat authored Feb 13, 2024
2 parents f9f8b87 + 5fe0174 commit 3792d0d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion checkout/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@ runs:
path: ${{ inputs.path }}
ref: ${{ inputs.ref }}
repository: ${{ inputs.repository }}
set-safe-directory: true
# set-safe-directory: true <- not sure what the point is since this doesn't persist beyond the "Checkout" step

- name: Set Git Safe Directory
shell: bash
run: |
git config --global --add safe.directory "$(pwd)"

0 comments on commit 3792d0d

Please sign in to comment.