This commit is contained in:
github-actions[bot]
2025-09-04 11:44:18 -07:00
parent 59a49d170c
commit 5b1f984703
8 changed files with 40 additions and 49 deletions

View File

@@ -2,10 +2,7 @@ import { describe, expect, test, spyOn, beforeEach, afterEach } from "bun:test";
import * as core from "@actions/core";
import { checkWritePermissions } from "../src/github/validation/permissions";
import type { ParsedGitHubContext } from "../src/github/context";
import {
CLAUDE_APP_BOT_ID,
GITHUB_ACTIONS_BOT_LOGIN,
} from "../src/github/constants";
import { CLAUDE_APP_BOT_ID, CLAUDE_BOT_LOGIN } from "../src/github/constants";
describe("checkWritePermissions", () => {
let coreInfoSpy: any;
@@ -72,7 +69,7 @@ describe("checkWritePermissions", () => {
useStickyComment: false,
useCommitSigning: false,
botId: String(CLAUDE_APP_BOT_ID),
botName: GITHUB_ACTIONS_BOT_LOGIN,
botName: CLAUDE_BOT_LOGIN,
allowedBots: "",
trackProgress: false,
},