Skip to content

Commit

Permalink
feat: add missing CodeScanningAlertEvent
Browse files Browse the repository at this point in the history
Signed-off-by: Remi Cattiau <[email protected]>
  • Loading branch information
loopingz committed Jul 25, 2024
1 parent 2c9266b commit 7d202db
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions cloudevents/adapters/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,21 @@ based on the specified event.
| `time` | "check_suite.updated_at" value |
| `data` | Content of HTTP request body |

### CodeScanningAlertEvent

| CloudEvents Attribute | Value |
| :-------------------- | :------------------------------------------------- |
| `id` | "X-GitHub-Delivery" HTTP header value |
| `source` | "repository.url" value |
| `specversion` | `1.0` |
| `type` | `com.github.code_scanning_alert.` + "action" value |
| `datacontentencoding` | Omit |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
| `subject` | "alert.number" value |
| `time` | Current time |
| `data` | Content of HTTP request body |

### CommitCommentEvent

| CloudEvents Attribute | Value |
Expand Down

0 comments on commit 7d202db

Please sign in to comment.