GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Modify action name by ltawfik · Pull Request #2 · anthropics/claude-code-action

Conversation

@ltawfik

@ltawfik ltawfik commented May 19, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ltawfik
modify action name
564c4d1
bcherny
bcherny previously approved these changes May 19, 2025
View reviewed changes
@ltawfik
test CI
8827851
@ltawfik
ltawfik dismissed bcherny’s stale review via 8827851 May 19, 2025 17:12
@ltawfik
test CI
af7824b
bcherny
bcherny approved these changes May 19, 2025
View reviewed changes
@ltawfik
ltawfik merged commit c9d5a9d into main May 19, 2025
shabaraba pushed a commit to shabaraba/claude-code-action that referenced this pull request May 27, 2025
@ltawfik
Merge pull request anthropics#2 from anthropics/lina/modify-action-name
baf26fa
Modify action name
ashwin-ant pushed a commit that referenced this pull request Jun 17, 2025
@km-tr @claude
fix: correct assignee trigger test to handle different assignee prope…
13ccdab
…rly (#178)

* fix: use direct assignee field

* fix: correct assignee trigger test to handle different assignee properly

The test was failing because the mockIssueAssignedContext was missing the
top-level assignee field that the trigger validation logic checks. Added
the missing assignee field to the mock context and updated the test to
properly override both the top-level assignee and issue.assignee fields
when testing assignment to a different user.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* Adjust IssuesAssignedEvent import position (#2)

---------

Co-authored-by: Claude <[email protected]>
msluther referenced this pull request in classdojo/claude-code-action Jun 23, 2025
@msluther @actions-user
@sepehr500 @ashwin-ant @claude @atsushi-ishibashi @claude @bgutschke @int128 @tomoish @km-tr
Merge latest from upstream (#1)
aec1c34
* chore: update claude-code-base-action to v0.0.11

* chore: update claude-code-base-action to v0.0.12

* chore: update claude-code-base-action to v0.0.13

* Update allowed tools align with what is available in github-mcp-server (anthropics#145)

* feat: add max_turns parameter support (anthropics#149)

* feat: add max_turns parameter support

- Add max_turns input to action.yml with proper description
- Pass max_turns parameter through to claude-code-base-action
- Update README with documentation and examples for max_turns usage
- Add comprehensive tests to verify max_turns configuration
- Add yaml dependency for test parsing

Closes anthropics#148

Co-authored-by: ashwin-ant <[email protected]>

* chore: remove max-turns test and yaml dependency

Co-authored-by: ashwin-ant <[email protected]>

* chore: revert package.json and bun.lock changes

Co-authored-by: ashwin-ant <[email protected]>

* Update action.yml

* prettier

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: ashwin-ant <[email protected]>

* feat: add roadmap for Claude Code GitHub Action v1.0 (anthropics#150)

Add ROADMAP.md documenting planned features and improvements for reaching v1.0:
- GitHub Action CI results visibility
- Cross-repo support
- Workflow file modification capabilities
- Additional event trigger support
- Configurable commit signing
- Enhanced code review features
- Bot user trigger support
- Customizable base prompts

The roadmap provides transparency on development priorities and invites
community feedback and contributions.

* fix: set disallowed_tools as env when runing prepare.ts (anthropics#151)

* chore: update claude-code-base-action to v0.0.14

* feat: add MultiEdit to base_allowed_tools (anthropics#155)

Add MultiEdit tool to the BASE_ALLOWED_TOOLS array to enable Claude Code to use the MultiEdit tool for making multiple edits to a single file in one operation.

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: ashwin-ant <[email protected]>

* fix: add baseUrl to Octokit initialization in update_claude_comment (anthropics#157)

* fix: add baseUrl to Octokit initialization in update_claude_comment

Fixes Bad credentials error on GitHub Enterprise Server by passing
GITHUB_API_URL as baseUrl when initializing Octokit, consistent with
other Octokit instances in the codebase.

Fixes anthropics#156
Related to anthropics#107

Co-authored-by: ashwin-ant <[email protected]>

* fix: pass GITHUB_API_URL as env var to MCP server

Update the MCP server initialization to pass GITHUB_API_URL as an
environment variable, allowing it to work correctly with GitHub
Enterprise Server instances.

Co-authored-by: ashwin-ant <[email protected]>

* fix: import GITHUB_API_URL from config in install-mcp-server

Use the centralized GITHUB_API_URL constant from src/github/api/config.ts instead of reading directly from process.env when passing environment variables to the MCP server. This ensures consistency with how the API URL is handled throughout the codebase.

Co-authored-by: ashwin-ant <[email protected]>

* fix

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: ashwin-ant <[email protected]>

* chore: update claude-code-base-action to v0.0.17

* chore: update claude-code-base-action to v0.0.18

* chore: update claude-code-base-action to v0.0.19

* feat: use GitHub display name in Co-authored-by trailers (anthropics#163)

* feat: use GitHub display name in Co-authored-by trailers

- Add name field to GitHubAuthor type
- Update GraphQL queries to fetch user display names
- Add triggerDisplayName to CommonFields type
- Extract display name from fetched GitHub data in prepareContext
- Update Co-authored-by trailer generation to use display name when available

This ensures consistency with GitHub's web interface behavior where
Co-authored-by trailers use the user's display name rather than username.

Co-authored-by: ashwin-ant <[email protected]>

* fix: update GraphQL queries to handle Actor type correctly

The name field is only available on the User subtype of Actor in GitHub's
GraphQL API. This commit updates the queries to use inline fragments
(... on User) to conditionally access the name field when the actor is
a User type.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* refactor: clarify Co-authored-by instructions in prompt

Replace interpolated values with clear references to XML tags and add
explicit formatting instructions. This makes it clearer how to use the
GitHub display name when available while maintaining the username for
the email portion.

Changes:
- Use explicit references to <trigger_display_name> and <trigger_username> tags
- Add clear formatting instructions and example
- Explain fallback behavior when display name is not available

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* feat: fetch trigger user display name via dedicated GraphQL query

Instead of trying to extract the display name from existing data (which
was incomplete due to Actor type limitations), we now:

- Add a dedicated USER_QUERY to fetch user display names
- Pass the trigger username to fetchGitHubData
- Fetch the display name during data collection phase
- Simplify prepareContext to use the pre-fetched display name

This ensures we always get the correct display name for Co-authored-by
trailers, regardless of where the trigger came from.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: ashwin-ant <[email protected]>
Co-authored-by: Claude <[email protected]>

* feat: use dynamic fetch depth based on PR commit count (anthropics#169)

- Replace fixed depth of 20 with dynamic calculation
- Use Math.max(commitCount, 20) to ensure minimum context

* Accept multiline input for allowed_tools and disallowed_tools (anthropics#168)

* docs: add uv example for Python MCP servers in mcp_config section (anthropics#170)

Added documentation showing how to configure Python-based MCP servers using uv
with the --directory argument, as requested in issue anthropics#130.

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ashwin Bhat <[email protected]>

* feat: add release workflow with beta tag management (anthropics#171)

- Auto-increment patch version for new releases
- Update beta tag to point to latest release
- Update major version tag (v0) for simplified action usage
- Support dry run mode for testing
- Keep beta as the "latest" release channel

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <[email protected]>

* chore: update claude-code-base-action to v0.0.20

* update MCP server image to version 0.5.0 (anthropics#175)

* feat: enhance error reporting with specific error types from Claude execution (anthropics#164)

* feat: enhance error reporting with specific error types from Claude execution

- Extract error subtypes (error_during_execution, error_max_turns) from result object
- Display specific error messages in comment header based on error type
- Use total_cost_usd field from SDKResultMessage type
- Prevent showing redundant error details when already displayed in header

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* chore: update claude-code-base-action to v0.0.19

* feat: use GitHub display name in Co-authored-by trailers (anthropics#163)

* feat: use GitHub display name in Co-authored-by trailers

- Add name field to GitHubAuthor type
- Update GraphQL queries to fetch user display names
- Add triggerDisplayName to CommonFields type
- Extract display name from fetched GitHub data in prepareContext
- Update Co-authored-by trailer generation to use display name when available

This ensures consistency with GitHub's web interface behavior where
Co-authored-by trailers use the user's display name rather than username.

Co-authored-by: ashwin-ant <[email protected]>

* fix: update GraphQL queries to handle Actor type correctly

The name field is only available on the User subtype of Actor in GitHub's
GraphQL API. This commit updates the queries to use inline fragments
(... on User) to conditionally access the name field when the actor is
a User type.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* refactor: clarify Co-authored-by instructions in prompt

Replace interpolated values with clear references to XML tags and add
explicit formatting instructions. This makes it clearer how to use the
GitHub display name when available while maintaining the username for
the email portion.

Changes:
- Use explicit references to <trigger_display_name> and <trigger_username> tags
- Add clear formatting instructions and example
- Explain fallback behavior when display name is not available

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* feat: fetch trigger user display name via dedicated GraphQL query

Instead of trying to extract the display name from existing data (which
was incomplete due to Actor type limitations), we now:

- Add a dedicated USER_QUERY to fetch user display names
- Pass the trigger username to fetchGitHubData
- Fetch the display name during data collection phase
- Simplify prepareContext to use the pre-fetched display name

This ensures we always get the correct display name for Co-authored-by
trailers, regardless of where the trigger came from.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: ashwin-ant <[email protected]>
Co-authored-by: Claude <[email protected]>

* feat: use dynamic fetch depth based on PR commit count (anthropics#169)

- Replace fixed depth of 20 with dynamic calculation
- Use Math.max(commitCount, 20) to ensure minimum context

* Accept multiline input for allowed_tools and disallowed_tools (anthropics#168)

* docs: add uv example for Python MCP servers in mcp_config section (anthropics#170)

Added documentation showing how to configure Python-based MCP servers using uv
with the --directory argument, as requested in issue anthropics#130.

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ashwin Bhat <[email protected]>

* feat: add release workflow with beta tag management (anthropics#171)

- Auto-increment patch version for new releases
- Update beta tag to point to latest release
- Update major version tag (v0) for simplified action usage
- Support dry run mode for testing
- Keep beta as the "latest" release channel

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <[email protected]>

* chore: update claude-code-base-action to v0.0.20

* update MCP server image to version 0.5.0 (anthropics#175)

* refactor: convert error subtype check to switch case

Replace if-else chain with switch statement for better readability
and maintainability when handling error subtypes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: ashwin-ant <[email protected]>
Co-authored-by: Bastian Gutschke <[email protected]>
Co-authored-by: Hidetake Iwata <[email protected]>
Co-authored-by: Tomohiro Ishibashi <[email protected]>

* Revert "feat: enhance error reporting with specific error types from Claude e…" (anthropics#179)

This reverts commit 1b94b9e.

* chore: update claude-code-base-action to v0.0.21

* fix: correct assignee trigger test to handle different assignee properly (anthropics#178)

* fix: use direct assignee field

* fix: correct assignee trigger test to handle different assignee properly

The test was failing because the mockIssueAssignedContext was missing the
top-level assignee field that the trigger validation logic checks. Added
the missing assignee field to the mock context and updated the test to
properly override both the top-level assignee and issue.assignee fields
when testing assignment to a different user.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* Adjust IssuesAssignedEvent import position (#2)

---------

Co-authored-by: Claude <[email protected]>

* chore: update claude-code-base-action to v0.0.22

* docs: remove references to non-existent test-local.sh script (anthropics#187)

All tests for this repo can be run with `bun test` - the test-local.sh script was a holdover from the base action repo.

Fixes anthropics#172

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ashwin Bhat <[email protected]>

* chore: update claude-code-base-action to v0.0.23

* chore: update claude-code-base-action to v0.0.24

---------

Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: Sepehr Sobhani <[email protected]>
Co-authored-by: Ashwin Bhat <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: ashwin-ant <[email protected]>
Co-authored-by: atsushi-ishibashi <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: Bastian Gutschke <[email protected]>
Co-authored-by: Hidetake Iwata <[email protected]>
Co-authored-by: Tomohiro Ishibashi <[email protected]>
Co-authored-by: Kuma Taro <[email protected]>
RenMunetsuna pushed a commit to RenMunetsuna/x-point-1-ren-code-action that referenced this pull request Jun 24, 2025
@shintaro-x1
Merge pull request anthropics#2 from RenMunetsuna/main
84853a9
最新のClaudeCodeAntionの状態へ更新とBufferの変更
@claude claude Bot mentioned this pull request Aug 2, 2025
feat: ship slash commands with GitHub Action #381
Merged
3 tasks
@claude claude Bot mentioned this pull request Oct 21, 2025
Add plugins input to GitHub Action #637
Closed
3 of 4 tasks
This was referenced Nov 18, 2025
feat: add structured output support #682
Closed
feat: add structured output support via json_schema #683
Closed
@tangyu tangyu mentioned this pull request Jan 7, 2026
Bot comment still triggers workflow run even with user.type != 'Bot' condition #794
Open
nllptrx referenced this pull request in nllptrx/claude-code-action Feb 14, 2026
@markwylde
Merge pull request #2 from zinglax/shallow-fetch
a8399fe
Adding --depth=1 to fetchs to save time for large repos
nllptrx referenced this pull request in nllptrx/claude-code-action Feb 14, 2026
@nllptrx
fix: all high-priority issues from Codex review
cd9714d
Issue #1 (High): Fix execution_file output wiring
- Point to steps.claude-code.outputs.execution_file (not prepare)

Issue #2 (High): Fix user-request filename mismatch
- Change USER_REQUEST_FILENAME to 'claude-user-request.txt'

Issue #3 (High): Restore comment filtering functionality
- Add parseActorFilter() and shouldIncludeCommentByActor() helpers
- Restore filterCommentsByActor() function
- Apply filtering in fetchGitHubData for both PR and issue comments
- Add includeCommentsByActor and excludeCommentsByActor to context type
- Pass filtering params through action.yml env vars
- Update prepare.ts to use filtering params
- Add default values to mockContext.ts

Issue #4 (High): Fix job URL variable
- Change GITHUB_RUN_NUMBER to GITHUB_RUN_ID in update-comment-link.ts

Issue #5 (Low): Remove editor artifacts
- Add .fuse_hidden* to .gitignore
- Remove accidentally committed fuse files

TypeScript: ✅ ZERO errors
All filtering and safety features restored!
@claude claude Bot mentioned this pull request Mar 17, 2026
Disable auto-approval of project MCP servers when .mcp.json changes in PR #942
Closed
qozle added a commit to qozle/claude-code-action that referenced this pull request Apr 5, 2026
@qozle @claude
fix: allow # in branch names for PR checkout and base restore
35ee226
`validateBranchName` used a strict whitelist that excluded `#`,
causing the action to fail on PRs from branches like `put-back-arm64-anthropics#2`
with "Invalid branch name" — even though the branch already exists in
git and `#` is permitted by git-check-ref-format.

The validation was designed to prevent command injection. However, every
git call in the action uses `execFileSync`, which bypasses the shell
entirely and passes arguments directly to the kernel's execve. There is
no shell to interpret `#` as a metacharacter, so the strict whitelist was
over-blocking valid names with no security benefit.

Add `#` to the whitelist pattern, and update the JSDoc and error message
to reflect the allowed character set.

Fixes anthropics#1137.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
ashwin-ant pushed a commit that referenced this pull request Apr 5, 2026
@qozle @claude
fix: allow # in branch names for PR checkout and base restore (#1167)
b15d475
`validateBranchName` used a strict whitelist that excluded `#`,
causing the action to fail on PRs from branches like `put-back-arm64-#2`
with "Invalid branch name" — even though the branch already exists in
git and `#` is permitted by git-check-ref-format.

The validation was designed to prevent command injection. However, every
git call in the action uses `execFileSync`, which bypasses the shell
entirely and passes arguments directly to the kernel's execve. There is
no shell to interpret `#` as a metacharacter, so the strict whitelist was
over-blocking valid names with no security benefit.

Add `#` to the whitelist pattern, and update the JSDoc and error message
to reflect the allowed character set.

Fixes #1137.

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
@github-actions github-actions Bot mentioned this pull request Apr 16, 2026
feat: multi-agent peer review with auto triage routing logan-d-able/claude-code-action#1
Merged
6 tasks done
@kurupeku kurupeku mentioned this pull request May 6, 2026
Native installer reports '✔ successfully installed' while emitting '⚠ claude command not found' warnings (v1.0.106 regression) #1254
Open
@tomoyaA13 tomoyaA13 mentioned this pull request May 6, 2026
plugin_marketplaces fails: claude install exits 0 but binary not placed at ~/.local/bin/claude #1290
Open
@Zeffut Zeffut mentioned this pull request May 23, 2026
fix(install): verify claude binary exists after install (#1290) #1346
Closed
2 of 3 tasks
@KenSCompareCredit KenSCompareCredit mentioned this pull request May 26, 2026
Agent mode: MCP-server install decision uses a different parser (parseAllowedTools) than the one that builds the actual tool list, and the parsers diverge on comments and multi-line flag values #1357
Closed
@waddah12alhajar waddah12alhajar mentioned this pull request May 28, 2026
v1 action stalls at 'Gather context' on issue-triggered jobs — 4 attempts, 2 silent partial-completions + 2 sub-35s failures #1364
Open
@claude claude Bot mentioned this pull request Jun 23, 2026
Add agent-approval-check composite action #1429
Merged
@WGlynn WGlynn mentioned this pull request Jul 6, 2026
Headless run reports success after agent backgrounds work and ends turn (ScheduleWakeup/background subagents unusable in CI) #1462
Open
@maheshsingh20 maheshsingh20 mentioned this pull request Aug 14, 2026
Claude Code Action exits with 404 #1645
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@bcherny bcherny bcherny approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ltawfik @bcherny
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.