isaacchung Claude Opus 4.5 commited on
Commit
00776fc
·
unverified ·
1 Parent(s): b33dbc6

Fix LFS budget error by skipping smudge and removing .gitattributes (#398)

Browse files
.github/workflows/generate_cached_results.yml CHANGED
@@ -45,6 +45,8 @@ jobs:
45
  git config --global user.email "github-actions[bot]@users.noreply.github.com"
46
 
47
  - name: Update cached-data branch
 
 
48
  run: |
49
  # Check if __cached_results.json.gz was created
50
  if [ ! -f "__cached_results.json.gz" ]; then
@@ -66,6 +68,12 @@ jobs:
66
  echo "📋 Switching to existing cached-data branch"
67
  git checkout cached-data
68
  git pull origin cached-data
 
 
 
 
 
 
69
  else
70
  echo "🆕 Creating new cached-data branch"
71
  git checkout --orphan cached-data
 
45
  git config --global user.email "github-actions[bot]@users.noreply.github.com"
46
 
47
  - name: Update cached-data branch
48
+ env:
49
+ GIT_LFS_SKIP_SMUDGE: "1"
50
  run: |
51
  # Check if __cached_results.json.gz was created
52
  if [ ! -f "__cached_results.json.gz" ]; then
 
68
  echo "📋 Switching to existing cached-data branch"
69
  git checkout cached-data
70
  git pull origin cached-data
71
+
72
+ # Remove .gitattributes to clean up LFS tracking (one-time migration)
73
+ if [ -f ".gitattributes" ]; then
74
+ echo "🧹 Removing .gitattributes (LFS cleanup)"
75
+ git rm .gitattributes 2>/dev/null || rm -f .gitattributes
76
+ fi
77
  else
78
  echo "🆕 Creating new cached-data branch"
79
  git checkout --orphan cached-data