Skip to content

Commit

Permalink
Simplify setup-git action (#287)
Browse files Browse the repository at this point in the history
Removed the safe directory setup: That is now done by the
actions/checkout action
  • Loading branch information
EduardGomezEscandell authored Sep 18, 2023
2 parents de4edf2 + 09aa5f8 commit 250e08e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/actions/setup-git/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ runs:
# Set up Git
set -eu
# Ensure that our current directory is seen as safe (necessary in containers).
git config --global --add safe.directory ${PWD}
# Allow access to private repos
GITHUB_TOKEN="${{ inputs.token }}"
git config --global url."https://api:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
Expand Down

0 comments on commit 250e08e

Please sign in to comment.