Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/actionify/src/deps/octokit-types.ts>CodeScanningAlertAppearedInBranchEvent

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
interface CodeScanningAlertAppearedInBranchEvent
import { type CodeScanningAlertAppearedInBranchEvent } from "https://deno.land/x/actionify@0.3.0/src/deps/octokit-types.ts";

Properties

action: "appeared_in_branch"
alert: { number: number; created_at: string; url: string; html_url: string; instances: AlertInstance[]; most_recent_instance?: AlertInstance; state: "open" | "dismissed" | "fixed"; dismissed_by: User | null; dismissed_at: string | null; dismissed_reason:
| "false positive"
| "won't fix"
| "used in tests"
| null
; rule: { id: string; severity:
| "none"
| "note"
| "warning"
| "error"
| null
; description: string; }; tool: { name: string; version: string | null; }; }

The code scanning alert involved in the event.

ref: string

The Git reference of the code scanning alert. When the action is reopened_by_user or closed_by_user, the event was triggered by the sender and this value will be empty.

commit_oid: string

The commit SHA of the code scanning alert. When the action is reopened_by_user or closed_by_user, the event was triggered by the sender and this value will be empty.

repository: Repository
sender: GitHubOrg
optional
installation: InstallationLite
optional
organization: Organization