add webhook identity context to alerts and typed workflow permissions
Include actor/account github identity details in installation and repo lifecycle alerting, add shared identity helpers, and tighten CI workflow permission typing for safer validation. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
pullfrog[bot]
parent
57537d1a95
commit
4a9d83b102
+2
-2
@@ -4,7 +4,7 @@ import { dirname, join } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { parse } from "yaml";
|
||||
import { agentsManifest } from "../external.ts";
|
||||
import { agentsManifest, type WorkflowPermissions } from "../external.ts";
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const actionDir = join(__dirname, "..");
|
||||
@@ -13,7 +13,7 @@ const rootDir = join(actionDir, "..");
|
||||
type WorkflowJob = {
|
||||
"runs-on": string;
|
||||
"timeout-minutes"?: number;
|
||||
permissions?: Record<string, string>;
|
||||
permissions?: WorkflowPermissions;
|
||||
strategy?: { "fail-fast": boolean; matrix: Record<string, string[]> };
|
||||
env?: Record<string, string>;
|
||||
steps?: unknown[];
|
||||
|
||||
Reference in New Issue
Block a user