Track GitHub Code Quality enablement changes in the audit log
GitHub Code Quality now writes an audit log event whenever someone enables, disables, or changes its settings on a repository. Three new events give you that history:
repo.code_quality_enabledrecords when someone turns on Code Quality for a repository.repo.code_quality_disabledrecords when someone turns it off.repo.code_quality_updatedrecords when someone changes the configuration of a repository that already has Code Quality enabled.
Each event captures the repository, the actor who made the change, and when it happened. Because Code Quality billing counts active committers on enabled repositories, you can now see exactly when a repository entered or left that scope.
You’ll find these events in your organization audit log and enterprise audit log, and you can query them with the audit log API.
Code Quality is available on GitHub Enterprise Cloud, GitHub Enterprise Cloud with data residency, and GitHub Team. To review or change where you’ve turned it on, see enabling GitHub Code Quality.
Join the discussion within GitHub Community.