Skip to content

Update claude action code#4683

Merged
marcoacierno merged 3 commits into
mainfrom
update-claude-model
Jun 20, 2026
Merged

Update claude action code#4683
marcoacierno merged 3 commits into
mainfrom
update-claude-model

Conversation

@marcoacierno

Copy link
Copy Markdown
Member

What

ToDo

@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pycon Error Error Jun 20, 2026 7:20pm

@claude

claude Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

This PR updates the Claude GitHub Action workflow: model upgrade to claude-opus-4-8, doubled timeout, added Edit/Write tools, and adjusted allowed Bash patterns.

allowedTools syntax regression for uv and pip

The old config used Bash(uv *) and Bash(pip *) (space-separated), which matches how these tools are actually invoked (uv run pytest, pip install ...). The new config uses Bash(uv:*) and Bash(pip:*) (colon-separated). The colon format appears to be for command:subcommand syntax (as with gh api:*), but uv and pip use space-separated subcommands, not colons. This means these patterns will not match actual uv run or pip install invocations, silently blocking those commands during agent runs.

reviewer_trigger removal broadens trigger scope

Removing reviewer_trigger: "pythonitaliabot2" means the review_requested event now fires for any reviewer assignment, not just when pythonitaliabot2 is explicitly requested. This could cause unintended bot activity on PRs.

Edit and Write in allowedTools grants broad filesystem write access

The previous config was read-only (only gh CLI reads). Adding Edit and Write allows the agent to modify arbitrary files in the repository during any triggered run (issue comments mentioning @claude, PR review requests). This is a meaningful expansion of the attack surface — a malicious @claude-mention in an issue body could cause the agent to overwrite workflow files or source code.

Bash(gh api:*) was removed

The old allowlist included Bash(gh api:*) which permitted general GitHub API calls. This was removed. If any agent behavior relied on raw gh api calls, those will now be blocked.

@marcoacierno marcoacierno merged commit 00ccffc into main Jun 20, 2026
5 of 6 checks passed
@marcoacierno marcoacierno deleted the update-claude-model branch June 20, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant