Source: GitHub Changelog Published: DevelopersReprinted 中文 ID
Summary
Usage reports that include a username column now include a user_id column next to it. The column contains the ID of the account that generated the usage, including bot accounts, and it's empty for usage that isn't tied to an account. You can use it to: Identify usage from deleted accounts, which have an empty username . Follow a user's usage after they change their username. Match report rows to events in your audit log. This change applies to the detailed usage report, the AI usage report, and the premium request usage report, including exports you create with the GitHub REST API. The summarized usage report hasn't changed. These changes apply to all GitHub Enterprise Cloud account types and standalone organizations on GitHub Team. Every column after username has moved one position to the right. If your scripts or tools read these reports by column position, update them to read columns by header name. Usage from different deleted accounts now appears on separate rows instead of combin…
Original text(via GitHub Changelog)
Usage reports that include a username column now include a user_id column next to it. The column contains the ID of the account that generated the usage, including bot accounts, and it's empty for usage that isn't tied to an account. You can use it to:
Identify usage from deleted accounts, which have an empty username.
Follow a user's usage after they change their username.
Match report rows to events in your audit log.
This change applies to the detailed usage report, the AI usage report, and the premium request usage report, including exports you create with the GitHub REST API. The summarized usage report hasn't changed.
These changes apply to all GitHub Enterprise Cloud account types and standalone organizations on GitHub Team.
Every column after username has moved one position to the right. If your scripts or tools read these reports by column position, update them to read columns by header name.
Usage from different deleted accounts now appears on separate rows instead of combined in one row with an empty username. We calculate amounts the same way, but because we round each row separately, totals you add up from the report may differ slightly in the last decimal places.
To learn more, see Usage report fields.
The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.
Published by GitHub Changelog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.