What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects type on secret-scanning-location reachable from 1 operation.
New value: actions_log.
can now return "actions_log"
Who is affected
Code that reads GitHub's secret-scanning-location objects, used by 1 GitHub operation.
Before and after
| Where | Before | After |
|---|---|---|
| secret-scanning-location.type | "commit", "discussion_body", "discussion_comment", "discussion_title", "issue_body", "issue_comment", "issue_title", "pull_request_body", "pull_request_comment", "pull_request_review", "pull_request_review_comment", "pull_request_title", "wiki_commit" | "actions_log", "commit", "discussion_body", "discussion_comment", "discussion_title", "issue_body", "issue_comment", "issue_title", "pull_request_body", "pull_request_comment", "pull_request_review", "pull_request_review_comment", "pull_request_title", "wiki_commit" |
Code that breaks
switch (response.type) {
// existing branches …
// no branch for "actions_log"
default:
throw new Error("unexpected type");
}Based on GitHub’s published API specification. How severity is decided.