Skip to content

Commit

Permalink
ignore files on LFS when cloning a repository in action (fix #24)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jan 20, 2024
1 parent 5ef01fe commit 089fb8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ set -e
# https://github.blog/2022-04-12-git-security-vulnerability-announced/
git config --global --add safe.directory /github/workspace

# Ignore files on LFS (#24)
export GIT_LFS_SKIP_SMUDGE=1

cd "$GITHUB_WORKSPACE" || exit 1

if [ -z "$INPUT_VERSION" ]; then
Expand Down

0 comments on commit 089fb8f

Please sign in to comment.