Skip to content

Commit

Permalink
fix: mark action as required in `secret_scanning_alert_location.cre…
Browse files Browse the repository at this point in the history
…ated` event (#801)
  • Loading branch information
wolfy1339 committed May 28, 2023
1 parent 2051599 commit 39fb367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -3,7 +3,7 @@
"$id": "secret_scanning_alert_location$created",
"title": "secret_scanning_alert_location created event",
"type": "object",
"required": ["location", "alert", "repository", "sender"],
"required": ["action", "location", "alert", "repository", "sender"],
"properties": {
"action": { "type": "string", "enum": ["created"] },
"alert": { "$ref": "common/secret-scanning-alert.schema.json" },
Expand Down
2 changes: 1 addition & 1 deletion payload-types/schema.d.ts
Expand Up @@ -7221,7 +7221,7 @@ export interface SecretScanningAlertRevokedEvent {
sender: User;
}
export interface SecretScanningAlertLocationCreatedEvent {
action?: "created";
action: "created";
alert: SecretScanningAlert;
location: SecretScanningLocation;
repository: Repository;
Expand Down

0 comments on commit 39fb367

Please sign in to comment.