anthropics / anthropics/claude-code-action

The bump-claude-code-version.yml workflow is updating the wrong action.yml file

Open
#349 0 comments 0 reactions 0 assignees View on GitHub
bug p3
Dominant language
TypeScript
Stars
8.9k
Forks
2.1k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

**Describe the bug**

The [bump-claude-code-version.yml](https://github.com/anthropics/claude-code-action/blob/7c5a98d59d2464ae73f453c3e649f5b813374481/.github/workflows/bump-claude-code-version.yml) workflow is only updating base-action/action.yml but not the root action.yml file. Both files should be updated to maintain consistency.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '.github/workflows/bump-claude-code-version.yml'
2. Check the workflow configuration
3. Notice it only targets 'base-action/action.yml'
4. See that version bumps don't affect the root action.yml file
5. Observe version inconsistency between the two action.yml files

**Expected behavior**
The bump version workflow should update both the root `action.yml` file AND the `base-action/action.yml` file to ensure version consistency across the entire action.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Workflow yml file**
If it's not sensitive, consider including a paste of your full Claude workflow.yml file.

**API Provider**

[x] Anthropic First-Party API (default)
[x] AWS Bedrock
[x] GCP Vertex

**Additional context**
The current bump version workflow is incomplete because it only updates one of the two action.yml files, which means:

Version bumps create inconsistency between root action.yml and base-action/action.yml
The root action.yml file retains outdated version references
This could lead to users getting different claude-code versions depending on which action.yml file is being referenced
Both files should maintain the same claude-code version for consistency

The workflow should be modified to update BOTH the root action.yml file AND the base-action/action.yml file to ensure that version bumps are properly reflected across all action files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.