File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,13 @@ jobs:
2929
3030 - name : Install dependencies
3131 run : uv pip install .
32+ env :
33+ UV_SYSTEM_PYTHON : " 1"
3234
3335 - name : Run update script
3436 env :
3537 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+ PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
3639 run : |
3740 python scripts/update_readme.py
3841
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def fetch_repos(org_name):
1212 }
1313
1414 # Use a token if available for higher rate limits
15- token = os .environ .get ("GH_TOKEN" )
15+ token = os .environ .get ("PERSONAL_ACCESS_TOKEN" ) or os . environ . get ( " GH_TOKEN" )
1616 if token :
1717 headers ["Authorization" ] = f"token { token } "
1818
@@ -21,7 +21,7 @@ def fetch_repos(org_name):
2121 response .raise_for_status () # Will raise an exception for 4xx/5xx errors
2222
2323 for repo in response .json ():
24- if not repo ["private" ]:
24+ if not repo ["private" ] and repo [ "name" ] != ".github" :
2525 repos .append ({
2626 "name" : repo ["name" ],
2727 "language" : repo ["language" ],
You can’t perform that action at this time.
0 commit comments