Fix getting token in a GitHub bot (#47777)

Release Notes:

- N/A
8a89042289Lena committed on 1/27/2026, 3:41:13 PM· committed by GitHubparent39b34f8
1 file changedLine totals unavailable