Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI Use Auth.Token for remaining PyGithub scripts - #34808

Merged
lesteve merged 4 commits into
scikit-learn:mainfrom
Brucee-ee:main
Aug 24, 2026
Merged

CI Use Auth.Token for remaining PyGithub scripts#34808
lesteve merged 4 commits into
scikit-learn:mainfrom
Brucee-ee:main

Conversation

@Brucee-ee

@Brucee-ee Brucee-ee commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Follow up to #34787, see lesteve's comment: #34787 (comment)

What does this implement/fix? Explain your changes.

This is a follow up to my previous PR. lesteve pointed out two more scripts still using the old deprecated Github(token) constructor: .github/scripts/first-time-contributor.py and .github/scripts/label_title_regex.py. This PR updates both to use auth=Auth.Token(token) instead, same as before.

Introduce yourself

Hi again, it's Luke, same person from the last PR. Just cleaning up the remaining spots lesteve flagged.

AI usage disclosure

None for this one, it's a direct copy of the already approved fix.

Any other comments?

Happy to make any adjustments needed.

@github-actions github-actions Bot added Build / CI CI:Linter failure The linter CI is failing on this PR labels Aug 24, 2026
Fixes a typo (autAuth -> auth=Auth) and missing Auth import that were flagged by ruff in CI.
@github-actions github-actions Bot removed the CI:Linter failure The linter CI is failing on this PR label Aug 24, 2026

@lesteve lesteve left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@lesteve
lesteve merged commit b589cc5 into scikit-learn:main Aug 24, 2026
37 checks passed
@Brucee-ee

Copy link
Copy Markdown
Contributor Author

Thanks for the review, @lesteve! Really enjoying working on these, they’ve become a nice little side quest alongside everything else in my day :)

@lesteve

lesteve commented Aug 25, 2026

Copy link
Copy Markdown
Member

Tiny suggestion while I am at it: rather than using your main branch, you can create a separate feature branch to create a PR. See this for more details.

prady0t pushed a commit to prady0t/scikit-learn that referenced this pull request Sep 2, 2026
@jeremiedbb jeremiedbb mentioned this pull request Sep 8, 2026
14 tasks
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 8, 2026
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 9, 2026
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants