Skip to content

Commit 6991ec9

Browse files
committed
fix: improve main.py and utils.py, remove paths filter from scorecard workflow
- Remove 'paths' filter from scorecard.yml push trigger to run on all master pushes - Refactor main.py to locally fetch WAKATIME_API_KEY env var and replace retry exhaustion logs with ValueError exceptions - Reduce get_wakatime_stats retry attempts from 10 to 5 and raise on failure instead of returning None - Update utils.py initialize_github to dynamically detect github.Auth.Token for compatibility with PyGithub changes - Add missing test coverage for network error handling and update_readme content retrieval failure in main.py - Refactor tests to reduce too-many-argument warnings and fix patch targets
1 parent 357c5b4 commit 6991ec9

6 files changed

Lines changed: 138 additions & 888 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Scorecard Security
33
on:
44
push:
55
branches: [master]
6-
paths:
7-
- ".github/workflows/scoredcard.yml"
8-
- "api/*.py"
96
pull_request:
107
branches: [master]
118

0 commit comments

Comments
 (0)