Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/repo-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,15 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f scripts/requirements.txt ]; then
pip install -r scripts/requirements.txt
else
# Install minimal dependencies if requirements file doesn't exist
pip install requests matplotlib
fi
# Pinned, wheel-only installs: no setup scripts run and the versions do not drift.
pip install --only-binary :all: requests==2.34.2 matplotlib==3.10.7

- name: Update repository statistics
env:
GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }}
REPO: ${{ github.repository }}
run: |
python scripts/update_repo_stats.py \
python .github/scripts/update_repo_stats.py \
--token "$GITHUB_TOKEN" \
--repo "$REPO" \
--stats-dir ".github/stats"
Expand Down
Loading