From 6685b26dfb584fe21672d006c23a6f004960da77 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Sat, 4 Apr 2026 20:56:18 -0700 Subject: [PATCH] chore: fix prettier formatting (#1171) --- docs/usage.md | 2 +- test/validate-branch-name.test.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 0f715f0..7f1be0f 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -77,7 +77,7 @@ jobs: | `bot_id` | GitHub user ID to use for git operations (defaults to Claude's bot ID). Required with `ssh_signing_key` for verified commits | No | `41898282` | | `bot_name` | GitHub username to use for git operations (defaults to Claude's bot name). Required with `ssh_signing_key` for verified commits | No | `claude[bot]` | | `include_comments_by_actor` | Comma-separated list of actor usernames to INCLUDE in comments. Supports the `*[bot]` wildcard to match all bot accounts. Empty (default) includes all actors | No | "" | -| `exclude_comments_by_actor` | Comma-separated list of actor usernames to EXCLUDE from comments. Supports the `*[bot]` wildcard to match all bot accounts. If an actor matches both lists, exclusion takes priority | No | "" | +| `exclude_comments_by_actor` | Comma-separated list of actor usernames to EXCLUDE from comments. Supports the `*[bot]` wildcard to match all bot accounts. If an actor matches both lists, exclusion takes priority | No | "" | | `allowed_bots` | Comma-separated list of allowed bot usernames, or '\*' to allow all bots. Empty string (default) allows no bots. **⚠️ On public repos with `'*'`, external Apps may be able to invoke this action.** See [Security](./security.md) | No | "" | | `allowed_non_write_users` | **⚠️ RISKY**: Comma-separated list of usernames to allow without write permissions, or '\*' for all users. Only works with `github_token` input. See [Security](./security.md) | No | "" | | `path_to_claude_code_executable` | Optional path to a custom Claude Code executable. Skips automatic installation. Useful for Nix, custom containers, or specialized environments | No | "" | diff --git a/test/validate-branch-name.test.ts b/test/validate-branch-name.test.ts index a5ba6a1..7fed15e 100644 --- a/test/validate-branch-name.test.ts +++ b/test/validate-branch-name.test.ts @@ -40,7 +40,9 @@ describe("validateBranchName", () => { it("should accept branch names containing # (git-valid, common in issue-linked branches)", () => { // Reported in #1137: branches like "put-back-arm64-#2" were rejected expect(() => validateBranchName("put-back-arm64-#2")).not.toThrow(); - expect(() => validateBranchName("feature/#123-description")).not.toThrow(); + expect(() => + validateBranchName("feature/#123-description"), + ).not.toThrow(); expect(() => validateBranchName("fix/issue-#42")).not.toThrow(); }); });