Pull request and review-related events are now included in the audit log at both the enterprise and organization levels. This helps administrators better monitor pull request activity and ensure security and compliance requirements are being met.
Events now included in the audit log:
- A pull request is created, merged, closed, reopened, converted to draft, or marked ready for review
- A review is requested or a request is removed
- A review comment is added, updated, or deleted
- A review is submitted, dismissed, or deleted
Events can be viewed from the web UI, exported as CSV or JSON, or accessed via REST API. You can also search the audit log for specific pull request events. For example
action:pull_request filters for events directly on a pull request,
action:pull_request.merge shows just merge events, and
action:pull_request_review shows review events.