Merge Queue

actionDescriptionSampleRule
merge_queue.pull_request_dequeuedA pull request was removed from a merge queue.YN
merge_queue.pull_request_queue_jumpA pull request was moved ahead in a merge queue.NN
merge_queue.queue_clearedA merge queue was cleared.NN
merge_queue.update_settingsThe settings for a merge queue were updated.YN

merge_queue.pull_request_dequeued

#
Category
merge-queue

Description

A pull request was removed from a merge queue.

Documented on GitHub's enterprise audit log reference.

Example Audit Log Entry #

{
  "org_id": 9000002,
  "repo_id": 9000109,
  "actor_id": 9000110,
  "created_at": 1781091200758.0,
  "business_id": 9000005,
  "public_repo": false,
  "actor_is_bot": false,
  "org": "example-org",
  "repo": "user/example-repo",
  "actor": "user",
  "action": "merge_queue.pull_request_dequeued",
  "actor_ip": "ip-redacted",
  "business": "example-business",
  "request_id": 9000111,
  "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ip-redacted Safari/537.36",
  "actor_location": {
    "country_code": "XX"
  },
  "operation_type": "modify",
  "external_identity_nameid": "user",
  "external_identity_username": "user"
}

References #

merge_queue.pull_request_queue_jump

#
Category
merge-queue

Description

A pull request was moved ahead in a merge queue.

Documented on GitHub's enterprise audit log reference.

merge_queue.queue_cleared

#
Category
merge-queue

Description

A merge queue was cleared.

Documented on GitHub's enterprise audit log reference.

merge_queue.update_settings

#
Category
merge-queue

Description

The settings for a merge queue were updated.

Documented on GitHub's enterprise audit log reference.

Example Audit Log Entry #

{
  "org_id": 9000008,
  "repo_id": 9000112,
  "actor_id": 9000113,
  "created_at": 1781272184226.0,
  "business_id": 9000005,
  "public_repo": false,
  "actor_is_bot": false,
  "org": "example-org",
  "repo": "user/example-repo",
  "actor": "user",
  "action": "merge_queue.update_settings",
  "actor_ip": "ip-redacted",
  "business": "example-business",
  "request_id": 9000114,
  "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ip-redacted Safari/537.36",
  "merge_method": "squash",
  "actor_location": {
    "country_code": "XX"
  },
  "operation_type": "modify",
  "external_identity_nameid": "user",
  "external_identity_username": "user"
}

References #