mirror of
https://github.com/inventree/inventree-website.git
synced 2025-06-17 20:45:29 +00:00
Fix stats section hitting API limit (#100)
Fixes #95 Use GH token to not hit the API limit
This commit is contained in:
3
.github/workflows/get_stats.yml
vendored
3
.github/workflows/get_stats.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions: {}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
@ -18,6 +18,7 @@ jobs:
|
||||
run: python .github/get_stats.py
|
||||
env:
|
||||
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "[Bot] Updated the stats"
|
||||
|
Reference in New Issue
Block a user