Valentin Buchner commited on
Commit
03b54a3
·
1 Parent(s): 7d71c56

add access token to github action

Browse files
.github/workflows/update-leaderboard.yaml CHANGED
@@ -21,6 +21,8 @@ jobs:
21
  - name: Generate Markdown
22
  run: python .github/scripts/generate-leaderboard.py
23
  - name: Commit and push if changed
 
 
24
  run: |
25
  git config --global user.email "action@github.com"
26
  git config --global user.name "GitHub Action"
 
21
  - name: Generate Markdown
22
  run: python .github/scripts/generate-leaderboard.py
23
  - name: Commit and push if changed
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
  run: |
27
  git config --global user.email "action@github.com"
28
  git config --global user.name "GitHub Action"
leaderboard/leaderboard.json CHANGED
@@ -91,7 +91,7 @@
91
  "OCR": 0.222,
92
  "TextMean": 0.149
93
  }
94
- }
95
  ]
96
  }
97
 
 
91
  "OCR": 0.222,
92
  "TextMean": 0.149
93
  }
94
+ }
95
  ]
96
  }
97